diff options
Diffstat (limited to 'src/song.h')
-rw-r--r-- | src/song.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/song.h b/src/song.h index 3044e910f..bfa33e23d 100644 --- a/src/song.h +++ b/src/song.h @@ -34,12 +34,12 @@ struct song { struct tag *tag; struct directory *parent; time_t mtime; - char url[sizeof(int)]; + char uri[sizeof(int)]; }; /** allocate a new song with a remote URL */ struct song * -song_remote_new(const char *url); +song_remote_new(const char *uri); /** allocate a new song with a local file name */ struct song * @@ -81,7 +81,7 @@ song_in_database(const struct song *song) static inline bool song_is_file(const struct song *song) { - return song_in_database(song) || song->url[0] == '/'; + return song_in_database(song) || song->uri[0] == '/'; } #endif |