Browse Source

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

experimental/new_apache_hooks
Markus Fischer 24 years ago
parent
commit
05293f09eb
  1. 2
      win32/sendmail.c

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

Loading…
Cancel
Save