update when mtimes are not the same

git-svn-id: https://svn.musicpd.org/mpd/trunk@238 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-03-10 03:14:31 +00:00
parent c69b615f2b
commit e5e45242e0
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ int updateInDirectory(Directory * directory, char * shortname, char * name) {
if(0==findInList(directory->songs,shortname,&song)) {
addToDirectory(directory,shortname,name);
}
else if(mtime>((Song *)song)->mtime) {
else if(mtime!=((Song *)song)->mtime) {
LOG("updating %s\n",name);
updateSongInfo((Song *)song);
}