[dovecot-cvs] dovecot/src/plugins/expire expire-tool.c,1.1,1.2

cras at dovecot.org cras at dovecot.org
Mon Jul 31 03:44:10 EEST 2006


Update of /var/lib/cvs/dovecot/src/plugins/expire
In directory talvi:/tmp/cvs-serv6198

Modified Files:
	expire-tool.c 
Log Message:
Compile fix



Index: expire-tool.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/expire/expire-tool.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- expire-tool.c	30 Jul 2006 23:12:54 -0000	1.1
+++ expire-tool.c	31 Jul 2006 00:44:08 -0000	1.2
@@ -174,7 +174,7 @@
 		if (expire_box == NULL) {
 			/* we're no longer expunging old messages from here */
 			dict_unset(trans, key);
-		} else if (now < strtoul(value, NULL, 10)) {
+		} else if (time(NULL) < (time_t)strtoul(value, NULL, 10)) {
 			/* this and the rest of the timestamps are in future,
 			   so stop processing */
 			t_pop();



More information about the dovecot-cvs mailing list