]> granicus.if.org Git - php/commitdiff
Fix warning
authorMarcus Boerger <helly@php.net>
Mon, 19 May 2003 18:48:15 +0000 (18:48 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 19 May 2003 18:48:15 +0000 (18:48 +0000)
main/streams/plain_wrapper.c

index 98e17c72f361bab02683a55fb11d381f9fc9958d..075cc70e45e73ed0b0361ea5af7240d08fc1c94f 100644 (file)
@@ -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;
        }