cvs: php-src /ext/standard url.c

From: Date: Fri, 18 Jun 2004 00:44:37 +0000
Subject: cvs: php-src /ext/standard url.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-27643@lists.php.net to get a copy of this message
pollita Thu Jun 17 20:44:37 2004 EDT Modified files: /php-src/ext/standard url.c Log: String lengths should never be char pointers. http://cvs.php.net/diff.php/php-src/ext/standard/url.c?r1=1.80&r2=1.81&ty=u Index: php-src/ext/standard/url.c diff -u php-src/ext/standard/url.c:1.80 php-src/ext/standard/url.c:1.81 --- php-src/ext/standard/url.c:1.80 Fri May 28 07:33:23 2004 +++ php-src/ext/standard/url.c Thu Jun 17 20:44:37 2004 @@ -15,7 +15,7 @@ | Author: Jim Winstead <jimw@php.net> | +----------------------------------------------------------------------+ */ -/* $Id: url.c,v 1.80 2004/05/28 11:33:23 sesser Exp $ */ +/* $Id: url.c,v 1.81 2004/06/18 00:44:37 pollita Exp $ */ #include <stdlib.h> #include <string.h> @@ -591,7 +591,8 @@ fetches all the headers sent by the server in response to a HTTP request */ PHP_FUNCTION(get_headers) { - char *url, *url_len; + char *url; + int url_len; php_stream_context *context = NULL; php_stream *stream; zval **prev_val, **hdr = NULL;

« previous php.cvs (#27643) next »