summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-08-03 16:40:14 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2019-08-03 16:40:14 +0100
commit613a03d42cf64f31e01db40a3c3d517b354d5389 (patch)
tree0dc7167b7b09179a1aebfd68bb865799aae3fe4a
parent65766f1b723ea2e16d7ebebeeb6367147098bd18 (diff)
Fix bogus taint coding in setenv
This probably only affects Solaris; where it broke the build
-rw-r--r--src/src/setenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/setenv.c b/src/src/setenv.c
index 027483019..90e679304 100644
--- a/src/src/setenv.c
+++ b/src/src/setenv.c
@@ -17,7 +17,7 @@ setenv(const char * name, const char * val, int overwrite)
uschar * s;
if (Ustrchr(name, '=')) return -1;
if (overwrite || !getenv(name))
- putenv(CS string_copy_perm(string_sprintf("%s=%s", name, val)), FALSE);
+ putenv(CS string_copy_perm(string_sprintf("%s=%s", name, val), FALSE));
return 0;
}