cvs: php4 /win32 sendmail.c
| From: | Markus Fischer | Date: | Thu, 13 Jun 2002 22:25:28 +0000 |
| Subject: | cvs: php4 /win32 sendmail.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12354@lists.php.net to get a copy of this message | ||
mfischer Thu Jun 13 18:25:28 2002 EDT
Modified files:
/php4/win32 sendmail.c
Log:
- We don't need the check here because the regex makes sure we never have \r\n
at the end of the header.
Index: php4/win32/sendmail.c
diff -u php4/win32/sendmail.c:1.42 php4/win32/sendmail.c:1.43
--- php4/win32/sendmail.c:1.42 Thu Jun 13 17:55:26 2002
+++ php4/win32/sendmail.c Thu Jun 13 18:25:28 2002
@@ -17,7 +17,7 @@
*
*/
-/* $Id: sendmail.c,v 1.42 2002/06/13 21:55:26 sesser Exp $ */
+/* $Id: sendmail.c,v 1.43 2002/06/13 22:25:28 mfischer Exp $ */
#include "php.h" /*php specific */
#include <stdio.h>
@@ -649,11 +649,6 @@
if (!addToHeader(&header_buffer, "%s\r\n", xheaders)) {
goto PostHeader_outofmem;
}
- len = strlen(header_buffer);
- if ((len > 4)&&(header_buffer[len-4]=='\r')) {
- header_buffer[len-2]='\0';
- }
-
}
if (headers_lc) {