[vlc-commits] logger: fix HTML mode
Rafaël Carré
git at videolan.org
Sat Apr 21 05:16:04 CEST 2012
vlc/vlc-2.0 | branch: master | Rafaël Carré <funman at videolan.org> | Wed Apr 18 15:03:09 2012 -0400| [068886d24ddf89bf2c4b82280c0ab1172fa10085] | committer: Rafaël Carré
logger: fix HTML mode
(cherry picked from commit 4644b706702c56fc6b54bfaccbcad7a4469a31fd)
Signed-off-by: Rafaël Carré <funman at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=068886d24ddf89bf2c4b82280c0ab1172fa10085
---
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 81ab268..8314d9a 100644
--- a/modules/misc/logger.c
+++ b/modules/misc/logger.c
@@ -443,7 +443,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