summaryrefslogtreecommitdiff
path: root/ext/standard/http_fopen_wrapper.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2011-01-12 13:21:27 +0000
committerIlia Alshanetsky <iliaa@php.net>2011-01-12 13:21:27 +0000
commita6a4751a88f9dec426a5bf95c605856bde22b719 (patch)
treece73ebe2a76860101ada7e913739caa9075461e8 /ext/standard/http_fopen_wrapper.c
parent189b042a01bd3a9d51a39124ea5b8fad771e1545 (diff)
downloadphp-git-a6a4751a88f9dec426a5bf95c605856bde22b719.tar.gz
Fixed variable re-declaration
Diffstat (limited to 'ext/standard/http_fopen_wrapper.c')
-rw-r--r--ext/standard/http_fopen_wrapper.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c
index 983f91f73b..c1c46bf479 100644
--- a/ext/standard/http_fopen_wrapper.c
+++ b/ext/standard/http_fopen_wrapper.c
@@ -288,12 +288,12 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path,
if (!request_fulluri &&
context &&
php_stream_context_get_option(context, "http", "request_fulluri", &tmpzval) == SUCCESS) {
- zval tmp = **tmpzval;
+ zval ztmp = **tmpzval;
- zval_copy_ctor(&tmp);
- convert_to_boolean(&tmp);
- request_fulluri = Z_BVAL(tmp) ? 1 : 0;
- zval_dtor(&tmp);
+ zval_copy_ctor(&ztmp);
+ convert_to_boolean(&ztmp);
+ request_fulluri = Z_BVAL(ztmp) ? 1 : 0;
+ zval_dtor(&ztmp);
}
if (request_fulluri) {
@@ -540,10 +540,10 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path,
}
if (header_init) {
- zval *tmp;
- MAKE_STD_ZVAL(tmp);
- array_init(tmp);
- ZEND_SET_SYMBOL(EG(active_symbol_table), "http_response_header", tmp);
+ zval *ztmp;
+ MAKE_STD_ZVAL(ztmp);
+ array_init(ztmp);
+ ZEND_SET_SYMBOL(EG(active_symbol_table), "http_response_header", ztmp);
}
{