diff options
author | Sara Golemon <pollita@php.net> | 2004-06-18 00:44:37 +0000 |
---|---|---|
committer | Sara Golemon <pollita@php.net> | 2004-06-18 00:44:37 +0000 |
commit | 851b6d44754436611d794573999cea5fa5bcfece (patch) | |
tree | 9845303f30202362e9d61524f197e8db44f4fadc /ext/standard/url.c | |
parent | 0c72b185fd1d5734c1b6f98d885175b1e53fa6b6 (diff) | |
download | php-git-851b6d44754436611d794573999cea5fa5bcfece.tar.gz |
String lengths should never be char pointers.
Diffstat (limited to 'ext/standard/url.c')
-rw-r--r-- | ext/standard/url.c | 3 |
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; |