dovecot-1.1: Previous fix broke CMP_ST_CTIME() nsec checks.

dovecot at dovecot.org dovecot at dovecot.org
Fri May 30 12:00:33 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/5766890f1275
changeset: 7578:5766890f1275
user:      Timo Sirainen <tss at iki.fi>
date:      Fri May 30 12:00:29 2008 +0300
description:
Previous fix broke CMP_ST_CTIME() nsec checks.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib/compat.h |    2 +-

diffs (12 lines):

diff -r 0d842b055838 -r 5766890f1275 src/lib/compat.h
--- a/src/lib/compat.h	Fri May 30 11:58:56 2008 +0300
+++ b/src/lib/compat.h	Fri May 30 12:00:29 2008 +0300
@@ -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


More information about the dovecot-cvs mailing list