freebsd-ports/mail/procmail/files/patch-ai
Andrey A. Chernov e3b18f654c Fix searching body alone
Submitted by:   James Quick <jq@quick.com>
2003-08-03 01:45:58 +00:00

11 lines
435 B
Text

--- src/procmail.c.bak Tue Sep 11 08:59:14 2001
+++ src/procmail.c Sun Aug 3 05:34:55 2003
@@ -652,7 +652,7 @@
nrcond= -1;
if(tolock) /* clear temporary buffer for lockfile name */
free(tolock);
- for(i=maxindex(flags);i;i--) /* clear the flags */
+ for(i=maxindex(flags);i>=0;i--) /* clear the flags */
flags[i]=0;
for(tolock=0,locknext=0;;)
{ chp=skpspace(chp);