aboutsummaryrefslogtreecommitdiff
path: root/mail/procmail/files/patch-ai
blob: a267f97e9f875582c3becdc2969af2baf25c5a4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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);