aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/SongPrint.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SongPrint.cxx b/src/SongPrint.cxx
index e5e5ebb76..9d10d690a 100644
--- a/src/SongPrint.cxx
+++ b/src/SongPrint.cxx
@@ -52,14 +52,14 @@ song_print_uri(Client &client, const char *uri, bool base)
uri = allocated.c_str();
}
- client_printf(client, "%s%s\n", SONG_FILE, uri);
+ client_printf(client, SONG_FILE "%s\n", uri);
}
void
song_print_uri(Client &client, const LightSong &song, bool base)
{
if (!base && song.directory != nullptr) {
- client_printf(client, "%s%s/%s\n", SONG_FILE,
+ client_printf(client, SONG_FILE "%s/%s\n",
song.directory, song.uri);
} else
song_print_uri(client, song.uri, base);