Router variables: change list-separator to semicolon
[exim.git] / src / src / readconf.c
index b9d193554160bc62bcfef743c3c96299d26445f1..a7cf03dd353171409166f4778136282d2cb4b50b 100644 (file)
@@ -1770,7 +1770,10 @@ switch (type)
       }
     else if (ol->type & opt_rep_str)
       {
-      uschar sep_o = Ustrncmp(name, "headers_add", 11)==0 ? '\n' : ':';
+      uschar sep_o =
+       Ustrncmp(name, "headers_add", 11) == 0  ? '\n'
+       : Ustrncmp(name, "set", 3) == 0         ? ';'
+       : ':';
       int    sep_i = -(int)sep_o;
       const uschar * list = sptr;
       uschar * s;