summaryrefslogtreecommitdiff
path: root/ext/standard/url.c
diff options
context:
space:
mode:
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;