don't close seq maps -- this causes double-closes
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Wed, 23 Nov 1994 05:33:45 +0000 (21:33 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Wed, 23 Nov 1994 05:33:45 +0000 (21:33 -0800)
SCCS-vsn: usr.sbin/sendmail/src/conf.c 8.121

usr/src/usr.sbin/sendmail/src/conf.c

index bf5c492..d370903 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)conf.c     8.120 (Berkeley) %G%";
+static char sccsid[] = "@(#)conf.c     8.121 (Berkeley) %G%";
 #endif /* not lint */
 
 # include "sendmail.h"
 #endif /* not lint */
 
 # include "sendmail.h"
@@ -368,12 +368,12 @@ setupmaps()
 
        /* sequenced maps */
        MAPDEF("sequence", NULL, MCF_ALIASOK,
 
        /* sequenced maps */
        MAPDEF("sequence", NULL, MCF_ALIASOK,
-               seq_map_parse, null_map_open, seq_map_close,
+               seq_map_parse, null_map_open, null_map_close,
                seq_map_lookup, seq_map_store);
 
        /* switched interface to sequenced maps */
        MAPDEF("switch", NULL, MCF_ALIASOK,
                seq_map_lookup, seq_map_store);
 
        /* switched interface to sequenced maps */
        MAPDEF("switch", NULL, MCF_ALIASOK,
-               map_parseargs, switch_map_open, seq_map_close,
+               map_parseargs, switch_map_open, null_map_close,
                seq_map_lookup, seq_map_store);
 }
 
                seq_map_lookup, seq_map_store);
 }