[vlc-devel] commit: Don't use printf to print debug output. (Antoine Cellerier )
git version control
git at videolan.org
Sun Feb 28 00:40:14 CET 2010
vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Sun Feb 28 00:19:18 2010 +0100| [b8d7defe1771f3f4dc486f80d75b8dbcd1475d57] | committer: Antoine Cellerier
Don't use printf to print debug output.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b8d7defe1771f3f4dc486f80d75b8dbcd1475d57
---
modules/misc/lua/intf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/misc/lua/intf.c b/modules/misc/lua/intf.c
index 3415907..23943fe 100644
--- a/modules/misc/lua/intf.c
+++ b/modules/misc/lua/intf.c
@@ -216,7 +216,7 @@ int Open_LuaIntf( vlc_object_t *p_this )
char *psz_buffer;
if( asprintf( &psz_buffer, "config={%s}", psz_config ) != -1 )
{
- printf("%s\n", psz_buffer);
+ msg_Dbg( p_intf, "Setting config variable: %s", psz_buffer );
if( luaL_dostring( L, psz_buffer ) == 1 )
msg_Err( p_intf, "Error while parsing \"lua-config\"." );
free( psz_buffer );
More information about the vlc-devel
mailing list