]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix up a couple of >80 column lines.
authorTed Lemon <source@isc.org>
Tue, 28 Sep 1999 22:54:56 +0000 (22:54 +0000)
committerTed Lemon <source@isc.org>
Tue, 28 Sep 1999 22:54:56 +0000 (22:54 +0000)
common/parse.c

index 4a54c29c943f38147b916a562b9087b0201b8195..05dde75d0b274f5a807f486497b1fc0aa093c52e 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: parse.c,v 1.38 1999/09/09 23:27:10 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: parse.c,v 1.39 1999/09/28 22:54:56 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -355,7 +355,8 @@ unsigned char *parse_numeric_aggregate (cfile, buf,
        if (!bufp && *max) {
                bufp = (unsigned char *)malloc (*max * size / 8);
                if (!bufp)
-                       log_fatal ("can't allocate space for numeric aggregate");
+                       log_fatal ("no space for numeric aggregate");
+               s = 0;
        } else
                s = bufp;
 
@@ -406,7 +407,7 @@ unsigned char *parse_numeric_aggregate (cfile, buf,
        if (c) {
                bufp = (unsigned char *)malloc (count * size / 8);
                if (!bufp)
-                       log_fatal ("can't allocate space for numeric aggregate.");
+                       log_fatal ("no space for numeric aggregate.");
                s = bufp + count - size / 8;
                *max = count;
        }