From 05293f09eb8583661640288ee57e25fa985c74f2 Mon Sep 17 00:00:00 2001 From: Markus Fischer Date: Sun, 2 Jun 2002 15:29:07 +0000 Subject: [PATCH] - Classig problem: right idea, wrong pointer ... --- win32/sendmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/sendmail.c b/win32/sendmail.c index e47dc9c249f..c51d829f77f 100644 --- a/win32/sendmail.c +++ b/win32/sendmail.c @@ -154,7 +154,7 @@ int TSendMail(char *host, int *error, char **error_message, if (strstr(headers_lc, "\r\nfrom:")) { pos = strstr(headers_lc, "\r\nfrom:") + 7; /* Jump over the string "\r\nfrom:", hence the 7 */ } else if (!strncmp(headers_lc, "from:", 5)) { - pos = headers + 5; /* Jump over the string "from:", hence the 5 */ + pos = headers_lc + 5; /* Jump over the string "from:", hence the 5 */ } if (pos) { char *pos_end;