use SpaceSub option value for space replacement in dequote map
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Fri, 9 Sep 1994 02:30:58 +0000 (18:30 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Fri, 9 Sep 1994 02:30:58 +0000 (18:30 -0800)
SCCS-vsn: usr.sbin/sendmail/src/parseaddr.c 8.36

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

index f837846..ddbb114 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)parseaddr.c        8.35 (Berkeley) %G%";
+static char sccsid[] = "@(#)parseaddr.c        8.36 (Berkeley) %G%";
 #endif /* not lint */
 
 #include "sendmail.h"
 #endif /* not lint */
 
 #include "sendmail.h"
@@ -2273,6 +2273,9 @@ dequote_map(map, name, av, statp)
                        continue;
                }
 
                        continue;
                }
 
+               if (c == ' ' && SpaceSub != '\0')
+                       c = SpaceSub;
+
                switch (c)
                {
                  case '\\':
                switch (c)
                {
                  case '\\':