Commit b8d7defe authored by Antoine Cellerier's avatar Antoine Cellerier

Don't use printf to print debug output.

parent 34500c14
...@@ -216,7 +216,7 @@ int Open_LuaIntf( vlc_object_t *p_this ) ...@@ -216,7 +216,7 @@ int Open_LuaIntf( vlc_object_t *p_this )
char *psz_buffer; char *psz_buffer;
if( asprintf( &psz_buffer, "config={%s}", psz_config ) != -1 ) 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 ) if( luaL_dostring( L, psz_buffer ) == 1 )
msg_Err( p_intf, "Error while parsing \"lua-config\"." ); msg_Err( p_intf, "Error while parsing \"lua-config\"." );
free( psz_buffer ); free( psz_buffer );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment