cvs: php4 /win32 sendmail.c
| From: | Thies C. Arntzen | Date: | Tue, 11 Jul 2000 11:52:49 +0000 |
| Subject: | cvs: php4 /win32 sendmail.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-716@lists.php.net to get a copy of this message | ||
thies Tue Jul 11 04:52:49 2000 EDT
Modified files:
/php4/win32 sendmail.c
Log:
fix warning in VC6
Index: php4/win32/sendmail.c
diff -u php4/win32/sendmail.c:1.12 php4/win32/sendmail.c:1.13
--- php4/win32/sendmail.c:1.12 Mon Jul 10 07:52:17 2000
+++ php4/win32/sendmail.c Tue Jul 11 04:52:48 2000
@@ -250,7 +250,7 @@
/* Send mail to all Cc rcpt's */
efree(tempMailTo);
- if (headers && pos1 = strstr(headers, "Cc:")) {
+ if (headers && (pos1 = strstr(headers, "Cc:"))) {
pos2 = strstr(pos1, "\r\n");
tempMailTo = estrndup(pos1, pos2-pos1);