summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-06-20 00:54:05 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2020-06-20 01:05:08 +0100
commit80c2ec2e47c556daff00c79ee068ce68f25fd264 (patch)
tree8af7b97d6db94165b5f2a300a3d38f0105150c67 /src
parent6e2400bf8b3c728f5bf8af52054fcab4e2351e21 (diff)
Fix string_copy() macro to not multiple-eval args. Bug 2603
Broken-by: a76d120aed
Diffstat (limited to 'src')
-rw-r--r--src/src/functions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/src/functions.h b/src/src/functions.h
index 1f0c30d0e..110d4db19 100644
--- a/src/src/functions.h
+++ b/src/src/functions.h
@@ -772,9 +772,9 @@ string_copy_trc(const uschar * s, const char * func, int line)
/* Simple string-copy functions maintaining the taint */
#define string_copyn(s, len) \
- string_copyn_taint_trc((s), (len), is_tainted(s), __FUNCTION__, __LINE__)
+ string_copyn_trc((s), (len), __FUNCTION__, __LINE__)
#define string_copy(s) \
- string_copy_taint_trc((s), is_tainted(s), __FUNCTION__, __LINE__)
+ string_copy_trc((s), __FUNCTION__, __LINE__)
/*************************************************