Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
1b071ba3
Commit
1b071ba3
authored
Jun 07, 2012
by
Philipp Schafft
🦁
Browse files
support field width with (most common) %Ns and %NH syntax.
svn path=/icecast/trunk/log/; revision=18363
parent
5dede89f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/log/log.c
View file @
1b071ba3
...
...
@@ -467,6 +467,7 @@ static void __vsnprintf(char *str, size_t size, const char *format, va_list ap)
case
'9'
:
block_len
=
atoi
(
format
);
for
(;
*
format
>=
'0'
&&
*
format
<=
'9'
;
format
++
);
format
--
;
break
;
case
'p'
:
snprintf
(
buf
,
sizeof
(
buf
),
"%p"
,
(
void
*
)
va_arg
(
ap
,
void
*
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment