summaryrefslogtreecommitdiff
path: root/src/src/perl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/src/perl.c')
-rw-r--r--src/src/perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/perl.c b/src/src/perl.c
index fbe9ee842..92218a6ef 100644
--- a/src/src/perl.c
+++ b/src/src/perl.c
@@ -186,7 +186,7 @@ call_perl_cat(uschar *yield, int *sizep, int *ptrp, uschar **errstrp,
return NULL;
}
str = US SvPV(sv, len);
- yield = string_cat(yield, sizep, ptrp, str, (int)len);
+ yield = string_catn(yield, sizep, ptrp, str, (int)len);
FREETMPS;
LEAVE;