Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
spr0cketeer
Icecast-common
Commits
4e4bb16f
Commit
4e4bb16f
authored
Jun 07, 2012
by
Philipp Schafft
🦁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support field width with (most common) %Ns and %NH syntax.
svn path=/icecast/trunk/log/; revision=18363
parent
56d4ef35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
log/log.c
log/log.c
+1
-0
No files found.
log/log.c
View file @
4e4bb16f
...
...
@@ -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
Markdown
is supported
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