allow null defaults in $( ... $) lookups
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Sun, 5 Sep 1993 09:02:23 +0000 (01:02 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Sun, 5 Sep 1993 09:02:23 +0000 (01:02 -0800)
SCCS-vsn: usr.sbin/sendmail/src/parseaddr.c 8.11

usr/src/usr.sbin/sendmail/src/parseaddr.c

index 4d87e80..1bbdbfe 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)parseaddr.c        8.10 (Berkeley) %G%";
+static char sccsid[] = "@(#)parseaddr.c        8.11 (Berkeley) %G%";
 #endif /* not lint */
 
 #include "sendmail.h"
 #endif /* not lint */
 
 #include "sendmail.h"
@@ -1271,6 +1271,7 @@ backup:
                        char *pvpb1[MAXATOM + 1];
                        char *argvect[10];
                        char pvpbuf[PSBUFSIZE];
                        char *pvpb1[MAXATOM + 1];
                        char *argvect[10];
                        char pvpbuf[PSBUFSIZE];
+                       char *nullpvp[1];
                        bool match, defaultpart;
                        char begintype;
                        char db = '\0';
                        bool match, defaultpart;
                        char begintype;
                        char db = '\0';