From: Antoine Cellerier Date: Sat, 27 Feb 2010 23:19:18 +0000 (+0100) Subject: Don't use printf to print debug output. X-Git-Tag: 1.1.0-pre1~615 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=b8d7defe1771f3f4dc486f80d75b8dbcd1475d57;p=vlc Don't use printf to print debug output. --- diff --git a/modules/misc/lua/intf.c b/modules/misc/lua/intf.c index 3415907616..23943fea13 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 );