]> git.netwichtig.de Git - user/henk/code/exim.git/blobdiff - src/src/smtp_in.c
Doc note
[user/henk/code/exim.git] / src / src / smtp_in.c
index 1d7b222547485f2486d78405bbf776203f78b103..78c86e7c9bda109717709a1125c32f72a26990a5 100644 (file)
@@ -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