song: initialize mtime in song_alloc()
This commit is contained in:
parent
badb827712
commit
00eea0e615
@ -49,6 +49,7 @@ song_alloc(const char *url, struct directory *parent)
|
|||||||
song->tag = NULL;
|
song->tag = NULL;
|
||||||
memcpy(song->url, url, urllen + 1);
|
memcpy(song->url, url, urllen + 1);
|
||||||
song->parent = parent;
|
song->parent = parent;
|
||||||
|
song->mtime = 0;
|
||||||
|
|
||||||
return song;
|
return song;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user