diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2021-05-15 16:32:57 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2021-06-28 00:30:02 +0100 |
commit | 66c3900a252ed2ddb578230ecb3d41d3e417e445 (patch) | |
tree | d01feb287d4e101adcab9e43d117e82b8d8e8ce0 /src | |
parent | c314dfcd9e33e02f409d86d06045cb6053fe4140 (diff) |
avoid mofying config text
Diffstat (limited to 'src')
-rw-r--r-- | src/src/smtp_in.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/smtp_in.c b/src/src/smtp_in.c index 1d7b22254..78c86e7c9 100644 --- a/src/src/smtp_in.c +++ b/src/src/smtp_in.c @@ -3015,7 +3015,7 @@ else p = s + Ustrlen(s); while (p > s && isspace(p[-1])) p--; -*p = 0; +s = string_copyn(s, p-s); /* It seems that CC:Mail is braindead, and assumes that the greeting message is all contained in a single IP packet. The original code wrote out the |