cvs: php4(PHP_4_3) /ext/standard mail.c

From: Date: Wed, 07 May 2003 20:32:28 +0000
Subject: cvs: php4(PHP_4_3) /ext/standard mail.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20775@lists.php.net to get a copy of this message
pollita Wed May 7 16:32:28 2003 EDT Modified files: (Branch: PHP_4_3) /php4/ext/standard mail.c Log: MFH(r-1.72) Index: php4/ext/standard/mail.c diff -u php4/ext/standard/mail.c:1.66.2.4 php4/ext/standard/mail.c:1.66.2.5 --- php4/ext/standard/mail.c:1.66.2.4 Tue Apr 1 01:23:22 2003 +++ php4/ext/standard/mail.c Wed May 7 16:32:28 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: mail.c,v 1.66.2.4 2003/04/01 06:23:22 pollita Exp $ */ +/* $Id: mail.c,v 1.66.2.5 2003/05/07 20:32:28 pollita Exp $ */ #include <stdlib.h> #include <ctype.h> @@ -212,10 +212,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);

« previous php.cvs (#20775) next »