Mercurial > dovecot > original-hg > dovecot-1.2
changeset 4524:da7c51c193e2 HEAD
Compile fix
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 31 Jul 2006 03:44:08 +0300 |
parents | 99699cf9df43 |
children | 7ad90caaf34f |
files | src/plugins/expire/expire-tool.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/expire/expire-tool.c Mon Jul 31 02:12:51 2006 +0300 +++ b/src/plugins/expire/expire-tool.c Mon Jul 31 03:44:08 2006 +0300 @@ -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();