X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fsrc%2Fmatch.c;h=6da1d2766e79ea15deb8a4cdfeb62c6e77098670;hb=48b30ae1141cbce9fe6f1153f368dd63a4505775;hp=a0899bf3eef8f9e0e6ae751955821838556e36ac;hpb=137ae145e066dda8f9d81cf6d2c9f76c15929605;p=exim.git diff --git a/src/src/match.c b/src/src/match.c index a0899bf3e..6da1d2766 100644 --- a/src/src/match.c +++ b/src/src/match.c @@ -446,7 +446,6 @@ BOOL ignore_defer = FALSE; const uschar *list; uschar *sss; uschar *ot = NULL; -uschar buffer[1024]; /* Save time by not scanning for the option name when we don't need it. */ @@ -506,12 +505,12 @@ else /* For an unnamed list, use the expanded version in comments */ -HDEBUG(D_any) if (ot == NULL) ot = string_sprintf("%s in \"%s\"?", name, list); +HDEBUG(D_any) if (!ot) ot = string_sprintf("%s in \"%s\"?", name, list); /* Now scan the list and process each item in turn, until one of them matches, or we hit an error. */ -while ((sss = string_nextinlist(&list, &sep, buffer, sizeof(buffer)))) +while ((sss = string_nextinlist(&list, &sep, NULL, 0))) { uschar * ss = sss;