summaryrefslogtreecommitdiff
path: root/ext/standard/url.c
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2004-06-18 00:44:37 +0000
committerSara Golemon <pollita@php.net>2004-06-18 00:44:37 +0000
commit851b6d44754436611d794573999cea5fa5bcfece (patch)
tree9845303f30202362e9d61524f197e8db44f4fadc /ext/standard/url.c
parent0c72b185fd1d5734c1b6f98d885175b1e53fa6b6 (diff)
downloadphp-git-851b6d44754436611d794573999cea5fa5bcfece.tar.gz
String lengths should never be char pointers.
Diffstat (limited to 'ext/standard/url.c')
-rw-r--r--ext/standard/url.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/url.c b/ext/standard/url.c
index aac6964c1c..9055583ec3 100644
--- a/ext/standard/url.c
+++ b/ext/standard/url.c
@@ -591,7 +591,8 @@ PHPAPI int php_raw_url_decode(char *str, int len)
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;