cvs: php4 /win32 sendmail.c

From: Date: Tue, 14 May 2002 16:03:40 +0000
Subject: cvs: php4 /win32 sendmail.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11916@lists.php.net to get a copy of this message
mfischer Tue May 14 12:03:40 2002 EDT Modified files: /php4/win32 sendmail.c Log: - Do not include the Cc: for the first Cc'd recipient (spotted by Richard). Index: php4/win32/sendmail.c diff -u php4/win32/sendmail.c:1.27 php4/win32/sendmail.c:1.28 --- php4/win32/sendmail.c:1.27 Tue May 14 11:32:15 2002 +++ php4/win32/sendmail.c Tue May 14 12:03:40 2002 @@ -18,7 +18,7 @@ * */ -/* $Id: sendmail.c,v 1.27 2002/05/14 15:32:15 mfischer Exp $ */ +/* $Id: sendmail.c,v 1.28 2002/05/14 16:03:40 mfischer Exp $ */ #include "php.h" /*php specific */ #include <stdio.h> @@ -288,6 +288,7 @@ /* Send mail to all Cc rcpt's */ efree(tempMailTo); if (headers && (pos1 = strstr(headers, "Cc:"))) { + pos1 += 3; /* Jump over Cc: */ if (NULL == (pos2 = strstr(pos1, "\r\n"))) { tempMailTo = estrndup(pos1, strlen(pos1));

« previous php.cvs (#11916) next »