aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-13 18:01:06 +0200
committerMax Kellermann <max@duempel.org>2009-10-13 18:01:06 +0200
commitf7ce4f6239ded6681713bc9e8d281712106e6f25 (patch)
tree1078ee0df1551a0e27bae71022c39a54affd07b6 /src/song.h
parent28442cce9fa4a91c38d87c4a61b6ff6af4f97a67 (diff)
downloadmpd-f7ce4f6239ded6681713bc9e8d281712106e6f25.tar.gz
mpd-f7ce4f6239ded6681713bc9e8d281712106e6f25.tar.xz
mpd-f7ce4f6239ded6681713bc9e8d281712106e6f25.zip
song: renamed attribute "url" to "uri"
Diffstat (limited to '')
-rw-r--r--src/song.h6
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