From: Thies C. Arntzen Date: Tue, 11 Jul 2000 11:52:48 +0000 (+0000) Subject: fix warning in VC6 X-Git-Tag: PRE_FILE_COMPILE_API_CHANGE~313 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3afe39e21f664fcb2ba3a40cc2b5685dcb3d4fbe;p=php fix warning in VC6 --- diff --git a/win32/sendmail.c b/win32/sendmail.c index 11ea803374..1f57454ce9 100644 --- a/win32/sendmail.c +++ b/win32/sendmail.c @@ -250,7 +250,7 @@ int SendText(char *RPath, char *Subject, char *mailTo, char *data, char *headers /* 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);