playlist_save: use temp2 instead of temp

Fixes minor Windows compatibility problem.
This commit is contained in:
Max Kellermann 2012-10-05 16:55:30 +02:00
parent d4b5699403
commit 72bf226608
1 changed files with 2 additions and 1 deletions

View File

@ -137,7 +137,8 @@ playlist_load_spl(struct playlist *playlist, struct player_control *pc,
*p = '/'; *p = '/';
p++; p++;
} }
if ((playlist_append_uri(playlist, pc, temp, NULL)) != PLAYLIST_RESULT_SUCCESS) { if ((playlist_append_uri(playlist, pc, temp2,
NULL)) != PLAYLIST_RESULT_SUCCESS) {
g_warning("can't add file \"%s\"", temp2); g_warning("can't add file \"%s\"", temp2);
} }
g_free(temp2); g_free(temp2);