diff options
Diffstat (limited to 'libexec/spamd/grey.c')
-rw-r--r-- | libexec/spamd/grey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/spamd/grey.c b/libexec/spamd/grey.c index 65a532f8e31..58e4ad8c4ab 100644 --- a/libexec/spamd/grey.c +++ b/libexec/spamd/grey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grey.c,v 1.44 2008/08/26 22:49:09 jsg Exp $ */ +/* $OpenBSD: grey.c,v 1.45 2008/12/07 21:12:52 cloder Exp $ */ /* * Copyright (c) 2004-2006 Bob Beck. All rights reserved. @@ -697,7 +697,7 @@ twupdate(char *dbname, char *what, char *ip, char *source, char *expires) now = time(NULL); /* expiry times have to be in the future */ - expire = strtonum(expires, now, UINT_MAX, NULL); + expire = strtonum(expires, now, INT_MAX, NULL); if (expire == 0) return(-1); |