diff options
author | Markus Fischer <mfischer@php.net> | 2002-06-02 15:29:07 +0000 |
---|---|---|
committer | Markus Fischer <mfischer@php.net> | 2002-06-02 15:29:07 +0000 |
commit | 05293f09eb8583661640288ee57e25fa985c74f2 (patch) | |
tree | 8ce0eaab55d82db0ac62df820736234e95e6c182 /win32/sendmail.c | |
parent | 022047217667dfcbe971db57250231f6c7237778 (diff) | |
download | php-git-05293f09eb8583661640288ee57e25fa985c74f2.tar.gz |
- Classig problem: right idea, wrong pointer ...
Diffstat (limited to 'win32/sendmail.c')
-rw-r--r-- | win32/sendmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/sendmail.c b/win32/sendmail.c index e47dc9c249..c51d829f77 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; |