]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Previous fix broke CMP_ST_CTIME() nsec checks.
authorTimo Sirainen <tss@iki.fi>
Fri, 30 May 2008 09:00:29 +0000 (12:00 +0300)
committerTimo Sirainen <tss@iki.fi>
Fri, 30 May 2008 09:00:29 +0000 (12:00 +0300)
--HG--
branch : HEAD

src/lib/compat.h

index bb67c08078e436a9e8ccfac0b0ecfa7e6d5c2ae3..5a934b29f5bc77418ddde3ba75d63da2c95c403a 100644 (file)
@@ -93,7 +93,7 @@ typedef int socklen_t;
         ST_NTIMES_EQUAL(ST_MTIME_NSEC(*(st1)), ST_MTIME_NSEC(*(st2))))
 #define CMP_ST_CTIME(st1, st2) \
        ((st1)->st_ctime == (st2)->st_ctime && \
-        ST_NTIMES_EQUAL(ST_MTIME_NSEC(*(st1)), ST_MTIME_NSEC(*(st2))))
+        ST_NTIMES_EQUAL(ST_CTIME_NSEC(*(st1)), ST_CTIME_NSEC(*(st2))))
 
 /* strcasecmp(), strncasecmp() */
 #ifndef HAVE_STRCASECMP