fixed name handling in unpack() to leave leading \'s in a name so that
authorKurt A. Shoens <kurt@ucbvax.Berkeley.EDU>
Thu, 20 Aug 1981 08:50:23 +0000 (00:50 -0800)
committerKurt A. Shoens <kurt@ucbvax.Berkeley.EDU>
Thu, 20 Aug 1981 08:50:23 +0000 (00:50 -0800)
sendmail can see it

SCCS-vsn: usr.bin/mail/names.c 2.2

usr/src/usr.bin/mail/names.c

index 0e16523..376dbe9 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "rcv.h"
 
 
 #include "rcv.h"
 
-static char *SccsId = "@(#)names.c     2.1 %G%";
+static char *SccsId = "@(#)names.c     2.2 %G%";
 
 /*
  * Allocate a single element of a name list,
 
 /*
  * Allocate a single element of a name list,
@@ -566,10 +566,7 @@ unpack(np)
                        n = n->n_flink;
                        continue;
                }
                        n = n->n_flink;
                        continue;
                }
-               cp = n->n_name;
-               while (*cp == '\\')
-                       cp++;
-               *ap++ = cp;
+               *ap++ = n->n_name;
                n = n->n_flink;
        }
        *ap = NOSTR;
                n = n->n_flink;
        }
        *ap = NOSTR;