- Classig problem: right idea, wrong pointer ...

This commit is contained in:
Markus Fischer 2002-06-02 15:29:07 +00:00
parent 0220472176
commit 05293f09eb

View file

@ -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;