Commit 898c9279 authored by Christophe Mutricy's avatar Christophe Mutricy

Do not pass too much argument to sprintf

parent 77466c8f
......@@ -134,8 +134,7 @@ int playlist_MLDump( playlist_t *p_playlist )
return VLC_EGENERIC;
}
asprintf( &psz_uri, "%s" DIR_SEP "%s", psz_dirname,
"ml.xsp", psz_homedir );
asprintf( &psz_uri, "%s" DIR_SEP "%s", psz_dirname, "ml.xsp" );
stats_TimerStart( p_playlist, "ML Dump", STATS_TIMER_ML_DUMP );
playlist_Export( p_playlist, psz_uri, p_playlist->p_ml_category,
"export-xspf" );
......
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