From: Timo Sirainen Date: Fri, 30 May 2008 09:00:29 +0000 (+0300) Subject: Previous fix broke CMP_ST_CTIME() nsec checks. X-Git-Tag: 1.1.rc7~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d3c0027c0579e4816a5eb5cde6f6f707e65fe831;p=thirdparty%2Fdovecot%2Fcore.git Previous fix broke CMP_ST_CTIME() nsec checks. --HG-- branch : HEAD --- diff --git a/src/lib/compat.h b/src/lib/compat.h index bb67c08078..5a934b29f5 100644 --- a/src/lib/compat.h +++ b/src/lib/compat.h @@ -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