From: Heiko Schlittermann (HS12-RIPE) Date: Sat, 12 Mar 2016 22:17:04 +0000 (+0100) Subject: Minor corrections to make it compile cleanly X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/fec27df097c8d16b4decfc62bc83bf873e58f310 Minor corrections to make it compile cleanly --- diff --git a/src/scripts/MakeLinks b/src/scripts/MakeLinks index 2eb8a967e..515403106 100755 --- a/src/scripts/MakeLinks +++ b/src/scripts/MakeLinks @@ -198,6 +198,7 @@ ln -s ../src/dns.c dns.c ln -s ../src/drtables.c drtables.c ln -s ../src/dummies.c dummies.c ln -s ../src/enq.c enq.c +ln -s ../src/environment.c environment.c ln -s ../src/exim.c exim.c ln -s ../src/exim_dbmbuild.c exim_dbmbuild.c ln -s ../src/exim_dbutil.c exim_dbutil.c diff --git a/src/src/environment.c b/src/src/environment.c index aaa84f817..673d2e609 100644 --- a/src/src/environment.c +++ b/src/src/environment.c @@ -31,7 +31,7 @@ else if (Ustrcmp(keep_environment, "*") != 0) { uschar *name = string_copyn(*p, US Ustrchr(*p, '=') - *p); - if (OK != match_isinlist(name, CUSS &keep_environment, + if (OK != match_isinlist(name, USS &keep_environment, 0, NULL, NULL, MCL_NOEXPAND, FALSE, NULL)) if (unsetenv(CS name) < 0) return FALSE; else /* nothing */; @@ -45,7 +45,7 @@ if (add_environment) { uschar *p; int sep = 0; - const uschar* envlist = add_environment; + uschar* envlist = add_environment; while ((p = string_nextinlist(&envlist, &sep, NULL, 0))) putenv(CS p); }