From e5e45242e03811a42d8bb98cc5ff5024a21a261a Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Wed, 10 Mar 2004 03:14:31 +0000 Subject: update when mtimes are not the same git-svn-id: https://svn.musicpd.org/mpd/trunk@238 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/directory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/directory.c b/src/directory.c index f8bd00969..a5ef89451 100644 --- a/src/directory.c +++ b/src/directory.c @@ -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); } -- cgit v1.2.3