[xiph-commits] r18363 - icecast/trunk/log
ph3-der-loewe at svn.xiph.org
ph3-der-loewe at svn.xiph.org
Thu Jun 7 11:27:58 PDT 2012
Author: ph3-der-loewe
Date: 2012-06-07 11:27:58 -0700 (Thu, 07 Jun 2012)
New Revision: 18363
Modified:
icecast/trunk/log/log.c
Log:
support field width with (most common) %Ns and %NH syntax.
Modified: icecast/trunk/log/log.c
===================================================================
--- icecast/trunk/log/log.c 2012-06-07 18:13:28 UTC (rev 18362)
+++ icecast/trunk/log/log.c 2012-06-07 18:27:58 UTC (rev 18363)
@@ -467,6 +467,7 @@
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 *));
More information about the commits
mailing list