Remove limit on remove_headers item size. Bug 1533
[exim.git] / src / src / transport.c
index 31437b1465315decfe13a7a3f4eca846124f08d3..15c30bf042007e867804ead27218eba5337da843 100644 (file)
@@ -643,8 +643,7 @@ for (h = header_list; h != NULL; h = h->next) if (h->type != htype_old)
       {
       int sep = ':';         /* This is specified as a colon-separated list */
       uschar *s, *ss;
-      uschar buffer[128];
-      while ((s = string_nextinlist(&list, &sep, buffer, sizeof(buffer))))
+      while ((s = string_nextinlist(&list, &sep, NULL, 0)))
        {
        int len;