]> git.sesse.net Git - vlc/commitdiff
Don't use printf to print debug output.
authorAntoine Cellerier <dionoea@videolan.org>
Sat, 27 Feb 2010 23:19:18 +0000 (00:19 +0100)
committerAntoine Cellerier <dionoea@videolan.org>
Sat, 27 Feb 2010 23:41:54 +0000 (00:41 +0100)
modules/misc/lua/intf.c

index 34159076160ae8a14f728879ee9b073d786af1b2..23943fea13c6acb9f77b84c34d8d83da2bc884c6 100644 (file)
@@ -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 );