extend "b" option to include maximum message size
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Tue, 27 Apr 1993 05:42:33 +0000 (21:42 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Tue, 27 Apr 1993 05:42:33 +0000 (21:42 -0800)
SCCS-vsn: usr.sbin/sendmail/src/readcf.c 6.29

usr/src/usr.sbin/sendmail/src/readcf.c

index 476fe24..87b3fca 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)readcf.c   6.28 (Berkeley) %G%";
+static char sccsid[] = "@(#)readcf.c   6.29 (Berkeley) %G%";
 #endif /* not lint */
 
 # include "sendmail.h"
 #endif /* not lint */
 
 # include "sendmail.h"
@@ -1015,7 +1015,13 @@ setoption(opt, val, sticky)
                        SpaceSub = ' ';
                break;
 
                        SpaceSub = ' ';
                break;
 
-         case 'b':             /* minimum number of blocks free on queue fs */
+         case 'b':             /* min blocks free on queue fs/max msg size */
+               p = strchr(val, '/');
+               if (p != NULL)
+               {
+                       *p++ = '\0';
+                       MaxMessageSize = atol(p);
+               }
                MinBlocksFree = atol(val);
                break;
 
                MinBlocksFree = atol(val);
                break;