mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
support field width with (most common) %Ns and %NH syntax.
svn path=/icecast/trunk/log/; revision=18363
This commit is contained in:
parent
5dede89f82
commit
1b071ba395
@ -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 *));
|
||||
|
Loading…
Reference in New Issue
Block a user