sendmail/sendmail-8.15.2-switchfile.patch

14 lines
393 B
Diff
Raw Normal View History

2020-01-01 00:11:22 +08:00
diff --git a/sendmail/conf.c b/sendmail/conf.c
index c73334e..cbb9c76 100644
--- a/sendmail/conf.c
+++ b/sendmail/conf.c
@@ -986,7 +986,7 @@ switch_map_find(service, maptype, mapreturn)
if (p != NULL)
*p = '\0';
#ifndef SM_NSSWITCH_DELIMS
-# define SM_NSSWITCH_DELIMS " \t"
+# define SM_NSSWITCH_DELIMS " \t:"
2020-08-03 19:17:03 +08:00
#endif
2020-01-01 00:11:22 +08:00
p = strpbrk(buf, SM_NSSWITCH_DELIMS);
if (p != NULL)