cvs: php4 /main/streams plain_wrapper.c

From: Date: Mon, 19 May 2003 18:48:15 +0000
Subject: cvs: php4 /main/streams plain_wrapper.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-21087@lists.php.net to get a copy of this message
helly Mon May 19 14:48:15 2003 EDT Modified files: /php4/main/streams plain_wrapper.c Log: Fix warning Index: php4/main/streams/plain_wrapper.c diff -u php4/main/streams/plain_wrapper.c:1.15 php4/main/streams/plain_wrapper.c:1.16 --- php4/main/streams/plain_wrapper.c:1.15 Mon May 19 14:46:59 2003 +++ php4/main/streams/plain_wrapper.c Mon May 19 14:48:15 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: plain_wrapper.c,v 1.15 2003/05/19 18:46:59 helly Exp $ */ +/* $Id: plain_wrapper.c,v 1.16 2003/05/19 18:48:15 helly Exp $ */ #include "php.h" #include "php_globals.h" @@ -896,7 +896,7 @@ zval funcname; zval *retval = NULL; - if (p = strstr(url, "://")) { + if ((p = strstr(url, "://")) != NULL) { url = p + 3; }

« previous php.cvs (#21087) next »