change random constants to be #defines
[unix-history] / usr / src / usr.sbin / sendmail / src / util.c
index d3a478c..595eb8e 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)util.c     5.34 (Berkeley) %G%";
+static char sccsid[] = "@(#)util.c     5.35 (Berkeley) %G%";
 #endif /* not lint */
 
 # include <stdio.h>
 #endif /* not lint */
 
 # include <stdio.h>
@@ -702,10 +702,10 @@ fgetfolded(buf, n, f)
                        int nn;
 
                        nn = (p - bp);
                        int nn;
 
                        nn = (p - bp);
-                       if (nn < 1024)
+                       if (nn < MEMCHUNKSIZE)
                                nn *= 2;
                        else
                                nn *= 2;
                        else
-                               nn += 1024;
+                               nn += MEMCHUNKSIZE;
                        nbp = xalloc(nn);
                        bcopy(bp, nbp, p - bp);
                        p = &nbp[p - bp];
                        nbp = xalloc(nn);
                        bcopy(bp, nbp, p - bp);
                        p = &nbp[p - bp];