sniper Fri Jan 6 00:35:40 2006 UTC
Modified files: (Branch: PHP_4_4)
/php-src/win32 sendmail.c
Log:
- Fixed bug #35906 (win32: mail() Date: header is not RFC compliant)
http://cvs.php.net/viewcvs.cgi/php-src/win32/sendmail.c?r1=1.47.2.10.2.1&r2=1.47.2.10.2.2&diff_format=u
Index: php-src/win32/sendmail.c
diff -u php-src/win32/sendmail.c:1.47.2.10.2.1
php-src/win32/sendmail.c:1.47.2.10.2.2
--- php-src/win32/sendmail.c:1.47.2.10.2.1 Thu Jul 28 10:10:16 2005
+++ php-src/win32/sendmail.c Fri Jan 6 00:35:40 2006
@@ -17,7 +17,7 @@
*
*/
-/* $Id: sendmail.c,v 1.47.2.10.2.1 2005/07/28 10:10:16 hyanantha Exp $ */
+/* $Id: sendmail.c,v 1.47.2.10.2.2 2006/01/06 00:35:40 sniper Exp $ */
#include "php.h" /*php specific */
#include <stdio.h>
@@ -713,7 +713,7 @@
zonem = (abs(_timezone) / 60) - (zoneh * 60);
if(!xheaders || !strstr(headers_lc, "date:")){
- sprintf(header_buffer, "Date: %s, %02d %s %04d %02d:%02d:%02d
%s%02d%02d\r\n",
+ sprintf(header_buffer, "Date: %3s, %02d %3s %04d %02d:%02d:%02d
%c%02d%02d\r\n",
days[tm->tm_wday],
tm->tm_mday,
months[tm->tm_mon],
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php