summaryrefslogtreecommitdiff
path: root/ext/standard/http_fopen_wrapper.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-01-13 13:02:19 +0000
committerZeev Suraski <zeev@php.net>2001-01-13 13:02:19 +0000
commit6562e98afabf7469d509b59c6215fc4aeb129ed6 (patch)
tree4f684a9651e0f8ef375601cc216baf2b3cea3b20 /ext/standard/http_fopen_wrapper.c
parent30441cda5b1936c7776ba1bc0015a223d6e185b5 (diff)
downloadphp-git-6562e98afabf7469d509b59c6215fc4aeb129ed6.tar.gz
Fix Windows & thread-safe build
Diffstat (limited to 'ext/standard/http_fopen_wrapper.c')
-rw-r--r--ext/standard/http_fopen_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c
index f4eabe845e..1d540408a9 100644
--- a/ext/standard/http_fopen_wrapper.c
+++ b/ext/standard/http_fopen_wrapper.c
@@ -270,9 +270,9 @@ FILE *php_fopen_url_wrap_http(char *path, char *mode, int options, int *issock,
free_url(resource);
if (location[0] != '\0') {
zval **response_header_new, *entry, **entryp;
+ ELS_FETCH();
fp = php_fopen_url_wrap_http(location, mode, options, issock, socketd, opened_path);
- ELS_FETCH();
if (zend_hash_find(EG(active_symbol_table), "http_response_header", sizeof("http_response_header"), (void **) &response_header_new) == SUCCESS) {
entryp = &entry;
MAKE_STD_ZVAL(entry);