dovecot-1.1: Fixed compiling on systems without nanoseconds in s...

dovecot at dovecot.org dovecot at dovecot.org
Sat May 17 00:40:39 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/4c70d5f54409
changeset: 7525:4c70d5f54409
user:      Timo Sirainen <tss at iki.fi>
date:      Sat May 17 00:40:31 2008 +0300
description:
Fixed compiling on systems without nanoseconds in struct stat.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/lib-storage/index/maildir/maildir-uidlist.c |    4 ++--

diffs (15 lines):

diff -r c4342385d696 -r 4c70d5f54409 src/lib-storage/index/maildir/maildir-uidlist.c
--- a/src/lib-storage/index/maildir/maildir-uidlist.c	Fri May 16 23:43:56 2008 +0300
+++ b/src/lib-storage/index/maildir/maildir-uidlist.c	Sat May 17 00:40:31 2008 +0300
@@ -767,9 +767,9 @@ int maildir_uidlist_refresh_fast_init(st
 		return ret;
 
 	if (st.st_size == mhdr->uidlist_size &&
-	    st.st_mtime == mhdr->uidlist_mtime &&
+	    st.st_mtime == mhdr->uidlist_mtime
 #ifdef HAVE_STAT_TV_NSEC
-	    st.st_mtim.tv_nsec == mhdr->uidlist_mtime_nsecs
+	    && st.st_mtim.tv_nsec == mhdr->uidlist_mtime_nsecs
 #endif
 	   ) {
 		/* index is up-to-date */


More information about the dovecot-cvs mailing list