]> granicus.if.org Git - php/commitdiff
fix compile warning
authorAntony Dovgal <tony2001@php.net>
Tue, 27 Mar 2007 09:20:27 +0000 (09:20 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 27 Mar 2007 09:20:27 +0000 (09:20 +0000)
ext/standard/mail.c

index db5658c26eb51d57df48daaa70aad26e119d9ab2..6c5f3ec9cf20f702aa447d656bf02344ea1de4c9 100644 (file)
@@ -58,7 +58,7 @@
 #define MAIL_ASCIIZ_CHECK(str, len)                    \
        p = str;                                        \
        e = p + len;                                    \
-       while (p = memchr(p, '\0', (e - p))) {          \
+       while ((p = memchr(p, '\0', (e - p)))) {        \
                *p = ' ';                               \
        }                                               \