cvs: php4 /win32 sendmail.c

From: Date: Sun, 02 Jun 2002 15:29:08 +0000
Subject: cvs: php4 /win32 sendmail.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-12197@lists.php.net to get a copy of this message
mfischer Sun Jun 2 11:29:08 2002 EDT Modified files: /php4/win32 sendmail.c Log: - Classig problem: right idea, wrong pointer ... Index: php4/win32/sendmail.c diff -u php4/win32/sendmail.c:1.32 php4/win32/sendmail.c:1.33 --- php4/win32/sendmail.c:1.32 Fri May 17 12:16:27 2002 +++ php4/win32/sendmail.c Sun Jun 2 11:29:07 2002 @@ -17,7 +17,7 @@ * */ -/* $Id: sendmail.c,v 1.32 2002/05/17 16:16:27 mfischer Exp $ */ +/* $Id: sendmail.c,v 1.33 2002/06/02 15:29:07 mfischer Exp $ */ #include "php.h" /*php specific */ #include <stdio.h> @@ -154,7 +154,7 @@ 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;

« previous php.cvs (#12197) next »