[vlc-commits] logger: fix HTML mode
Rafaël Carré
git at videolan.org
Wed Apr 18 21:04:43 CEST 2012
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Apr 18 15:03:09 2012 -0400| [4644b706702c56fc6b54bfaccbcad7a4469a31fd] | committer: Rafaël Carré
logger: fix HTML mode
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4644b706702c56fc6b54bfaccbcad7a4469a31fd
---
modules/misc/logger.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/misc/logger.c b/modules/misc/logger.c
index 6c7c8ae..3652d94 100644
--- a/modules/misc/logger.c
+++ b/modules/misc/logger.c
@@ -435,7 +435,7 @@ static void HtmlPrint( void *opaque, int type, const msg_item_t *item,
fprintf( stream, "%s%s: <span style=\"color: #%06x\">",
item->psz_module, ppsz_type[type], color[type] );
/* FIXME: encode special ASCII characters */
- fprintf( stream, fmt, ap );
+ vfprintf( stream, fmt, ap );
fputs( "</span>\n", stream );
funlockfile( stream );
vlc_restorecancel( canc );
More information about the vlc-commits
mailing list