summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/sendmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/sendmail.c b/win32/sendmail.c
index c82dc7b3c6..0e38d7092f 100644
--- a/win32/sendmail.c
+++ b/win32/sendmail.c
@@ -526,7 +526,7 @@ static int SendText(char *RPath, char *Subject, char *mailTo, char *mailCc, char
header we know it was the last thing. */
pos2 = pos1;
} else {
- char *pos3 = NULL;
+ char *pos3 = pos2;
while (pos2[2] == ' ' || pos2[2] == '\t') {
pos3 = strstr(pos2 + 2, "\r\n");
if (pos3 != NULL) {