From: Marcus Boerger Date: Mon, 19 May 2003 18:48:15 +0000 (+0000) Subject: Fix warning X-Git-Tag: RELEASE_1_0_2~729 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f10a7b90b2f74514ab9e7e16b8b5bd3c09a34818;p=php Fix warning --- diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c index 98e17c72f3..075cc70e45 100644 --- a/main/streams/plain_wrapper.c +++ b/main/streams/plain_wrapper.c @@ -896,7 +896,7 @@ static int php_plain_files_unlink(php_stream_wrapper *wrapper, char *url, int op zval funcname; zval *retval = NULL; - if (p = strstr(url, "://")) { + if ((p = strstr(url, "://")) != NULL) { url = p + 3; }