Fix searching body alone

Submitted by:   James Quick <jq@quick.com>
This commit is contained in:
Andrey A. Chernov 2003-08-03 01:45:58 +00:00
parent e94fb038bc
commit e3b18f654c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86207
2 changed files with 12 additions and 1 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= procmail
PORTVERSION= 3.22
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= ftp://ftp.procmail.org/pub/procmail/ \
ftp://ftp.psg.com/pub/unix/procmail/ \

View file

@ -0,0 +1,11 @@
--- 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);