X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmsgbase.c;fp=citadel%2Fmsgbase.c;h=ddc12aafdba517bfa33030a5873582455138d836;hp=135fe0e39b7f53c73882e3f0bbe46859ae4a054b;hb=5a307b0a88035de98ff16efc347994c82bdab8a9;hpb=30ad8940ba800c133c0b1cb66973aaacbf68fe5d diff --git a/citadel/msgbase.c b/citadel/msgbase.c index 135fe0e39..ddc12aafd 100644 --- a/citadel/msgbase.c +++ b/citadel/msgbase.c @@ -3050,7 +3050,7 @@ void flood_protect_quickie_message(const char *from, const char *subject, int nCriterions, const char **CritStr, - long *CritStrLen, + const long *CritStrLen, long ccid, long ioid, time_t NOW) @@ -3088,7 +3088,7 @@ void flood_protect_quickie_message(const char *from, eUpdate, ccid, ioid); - if (seenstamp < tsday) + if ((seenstamp > 0) && (seenstamp < tsday)) { FreeStrBuf(&guid); /* yes, we did. flood protection kicks in. */