[vlc-devel] commit: logger: fix syslog output formatting (Pierre Ynard )
git version control
git at videolan.org
Tue May 26 15:52:23 CEST 2009
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Tue May 26 14:37:53 2009 +0200| [d96b3d9b4ad33e18070e582354bdbd436022ba0e] | committer: Pierre Ynard
logger: fix syslog output formatting
Remove duplicate " :"
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d96b3d9b4ad33e18070e582354bdbd436022ba0e
---
modules/misc/logger.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/modules/misc/logger.c b/modules/misc/logger.c
index 2cd9a7f..88d4962 100644
--- a/modules/misc/logger.c
+++ b/modules/misc/logger.c
@@ -348,11 +348,10 @@ static void SyslogPrint( const msg_item_t *p_msg )
int i_priority = i_prio[p_msg->i_type];
if( p_msg->psz_header )
- syslog( i_priority, "%s%s %s: %s", p_msg->psz_header,
- ppsz_type[p_msg->i_type],
- p_msg->psz_module, p_msg->psz_msg );
+ syslog( i_priority, "%s %s%s%s", p_msg->psz_header, p_msg->psz_module,
+ ppsz_type[p_msg->i_type], p_msg->psz_msg );
else
- syslog( i_priority, "%s%s: %s", p_msg->psz_module,
+ syslog( i_priority, "%s%s%s", p_msg->psz_module,
ppsz_type[p_msg->i_type], p_msg->psz_msg );
}
More information about the vlc-devel
mailing list