]> granicus.if.org Git - php/commitdiff
fix warning in VC6
authorThies C. Arntzen <thies@php.net>
Tue, 11 Jul 2000 11:52:48 +0000 (11:52 +0000)
committerThies C. Arntzen <thies@php.net>
Tue, 11 Jul 2000 11:52:48 +0000 (11:52 +0000)
win32/sendmail.c

index 11ea8033743fea01b829db5c2a55063b6de28675..1f57454ce91f8d9f8707fc9f4ef33f1a7238285e 100644 (file)
@@ -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);