diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-08-15 21:49:46 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-08-15 21:49:46 +0000 |
commit | 383be63c08239d1f5ab23a573a2c0a751d2e41d2 (patch) | |
tree | b4b2a8f65f34353358b0b05faa3e0edb9221d4db /libexec/spamd/grey.c | |
parent | 118970acdb27375b1125211d9b75e20f56e3db35 (diff) |
Expire entries that exactly match the time now in addition to ones
with an expire time in the past. From beck@, OK deraadt@
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 90ef1cdfdd5..a77f60e52c9 100644 --- a/libexec/spamd/grey.c +++ b/libexec/spamd/grey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grey.c,v 1.16 2004/08/08 19:32:45 deraadt Exp $ */ +/* $OpenBSD: grey.c,v 1.17 2004/08/15 21:49:45 millert Exp $ */ /* * Copyright (c) 2004 Bob Beck. All rights reserved. @@ -213,7 +213,7 @@ greyscan(char *dbname) return(-1); } memcpy(&gd, dbd.data, sizeof(gd)); - if (gd.expire < now) { + if (gd.expire <= now) { /* get rid of entry */ if (debug) { memset(a, 0, sizeof(a)); |