aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2001-06-26 09:53:39 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2001-06-26 09:53:39 +0000
commitab2c441b2ebe4129787a8efaf771b35a90ada86f (patch)
treea154d1afa6a117f50981deabab5748a032c2e7fb /mail
parente977d4f8a52f5d244b89423a4c7ac44f187492f5 (diff)
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/cucipop/files/patch-ac15
1 files changed, 12 insertions, 3 deletions
diff --git a/mail/cucipop/files/patch-ac b/mail/cucipop/files/patch-ac
index 1acb21e30ae7..391df7a5f4fd 100644
--- a/mail/cucipop/files/patch-ac
+++ b/mail/cucipop/files/patch-ac
@@ -1,6 +1,6 @@
---- cucipop.c.bak Wed May 13 20:57:39 1998
-+++ cucipop.c Sun Mar 28 17:08:28 1999
-@@ -45,7 +45,7 @@
+--- cucipop.c.orig Tue Jun 26 17:51:11 2001
++++ cucipop.c Tue Jun 26 17:51:50 2001
+@@ -48,7 +48,7 @@
#include "hsort.h"
#ifdef APOP
@@ -9,3 +9,12 @@
#endif
#define MD5_DIGLEN 16
+@@ -314,7 +314,7 @@
+
+ static void addblock(const off_t start)
+ { if(msgs_filled==msgs_max&&
+- !(msgs=realloc(msgs,(msgs_max+=GROWSTEP)*sizeof*msgs)))
++ !(msgs=realloc(msgs,((msgs_max+=GROWSTEP)+1)*sizeof*msgs)))
+ outofmem();
+ msgs[msgs_filled].order=msgs_filled;msgs[msgs_filled].start=start;
+ msgs[msgs_filled].virtsize=0;msgs[msgs_filled++].deleted=0;