aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/playlist_save.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist_save.c b/src/playlist_save.c
index 55cd6bd87..c89afe684 100644
--- a/src/playlist_save.c
+++ b/src/playlist_save.c
@@ -46,7 +46,7 @@ playlist_print_uri(FILE *file, const char *uri)
char tmp[MPD_PATH_MAX];
const char *s;
- if (playlist_saveAbsolutePaths && !isValidRemoteUtf8Url(s))
+ if (playlist_saveAbsolutePaths && !isValidRemoteUtf8Url(uri))
s = map_directory_child_fs(db_get_root(), uri, tmp);
else
s = utf8_to_fs_charset(tmp, uri);