mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
- Classig problem: right idea, wrong pointer ...
This commit is contained in:
parent
0220472176
commit
05293f09eb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue