aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_update.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/song_update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/song_update.c b/src/song_update.c
index 77b447e47..4c1c69da2 100644
--- a/src/song_update.c
+++ b/src/song_update.c
@@ -103,7 +103,7 @@ song_file_update(struct song *song)
/* check if there's a suffix and a plugin */
- suffix = uri_get_suffix(song->url);
+ suffix = uri_get_suffix(song->uri);
if (suffix == NULL)
return false;
@@ -152,7 +152,7 @@ song_file_update_inarchive(struct song *song)
/* check if there's a suffix and a plugin */
- suffix = uri_get_suffix(song->url);
+ suffix = uri_get_suffix(song->uri);
if (suffix == NULL)
return false;