cvs: php4 /ext/standard mail.c
| From: | Sara Golemon | Date: | Wed, 07 May 2003 20:33:54 +0000 |
| Subject: | cvs: php4 /ext/standard mail.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20776@lists.php.net to get a copy of this message | ||
pollita Wed May 7 16:33:54 2003 EDT
Modified files:
/php4/ext/standard mail.c
Log:
Revert, this caused more trouble than it fixed.
Index: php4/ext/standard/mail.c
diff -u php4/ext/standard/mail.c:1.71 php4/ext/standard/mail.c:1.72
--- php4/ext/standard/mail.c:1.71 Tue Apr 1 01:21:54 2003
+++ php4/ext/standard/mail.c Wed May 7 16:33:53 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mail.c,v 1.71 2003/04/01 06:21:54 pollita Exp $ */
+/* $Id: mail.c,v 1.72 2003/05/07 20:33:53 pollita Exp $ */
#include <stdlib.h>
#include <ctype.h>
@@ -215,10 +215,10 @@
return 0;
}
#endif
- fprintf(sendmail, "To: %s\r\n", to);
- fprintf(sendmail, "Subject: %s\r\n", subject);
+ fprintf(sendmail, "To: %s\n", to);
+ fprintf(sendmail, "Subject: %s\n", subject);
if (headers != NULL) {
- fprintf(sendmail, "%s\r\n", headers);
+ fprintf(sendmail, "%s\n", headers);
}
fprintf(sendmail, "\n%s\n", message);
ret = pclose(sendmail);