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:50:05 +0200 |
commit | 00eea0e61509847d52c6e7c328c526cd8ea21f5e (patch) | |
tree | eb66a23d03d3556d1d6aed83d0bcdeb45bbaefbf | |
parent | badb827712f14a811483ed542b2c2cf09e650cce (diff) | |
download | mpd-00eea0e61509847d52c6e7c328c526cd8ea21f5e.tar.gz mpd-00eea0e61509847d52c6e7c328c526cd8ea21f5e.tar.xz mpd-00eea0e61509847d52c6e7c328c526cd8ea21f5e.zip |
song: initialize mtime in song_alloc()
-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; } |