diff options
author | Max Kellermann <max@duempel.org> | 2009-07-06 11:32:31 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-07-06 11:32:31 +0200 |
commit | 09aadffe9bc14b42fb36342f1b133b8e15745b5c (patch) | |
tree | da85aeb6f24c788a31a9b4614d3169de5d712518 | |
parent | e47bdfe8e6f7da67c9714db7e650fa6a925f7847 (diff) | |
download | mpd-09aadffe9bc14b42fb36342f1b133b8e15745b5c.tar.gz mpd-09aadffe9bc14b42fb36342f1b133b8e15745b5c.tar.xz mpd-09aadffe9bc14b42fb36342f1b133b8e15745b5c.zip |
song: initialize mtime in song_alloc()
Diffstat (limited to '')
-rw-r--r-- | src/song.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/song.c b/src/song.c index f7eee54a2..76c25f44f 100644 --- a/src/song.c +++ b/src/song.c @@ -49,6 +49,7 @@ song_alloc(const char *url, struct directory *parent) song->tag = NULL; memcpy(song->url, url, urllen + 1); song->parent = parent; + song->mtime = 0; return song; } |