projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
ea78d2c
)
- attempt to fix gcc-2.95 build
author
Michael Wallner
<mike@php.net>
Tue, 19 Sep 2006 22:55:34 +0000
(22:55 +0000)
committer
Michael Wallner
<mike@php.net>
Tue, 19 Sep 2006 22:55:34 +0000
(22:55 +0000)
http_request_datashare_api.c
patch
|
blob
|
history
diff --git
a/http_request_datashare_api.c
b/http_request_datashare_api.c
index 2bf05632daa71b2d9312eda6831b657765c56b20..013ecac3585344c78fa510229b775703f8789a06 100644
(file)
--- a/
http_request_datashare_api.c
+++ b/
http_request_datashare_api.c
@@
-223,10
+223,13
@@
static void http_request_datashare_destroy_handles(void *el)
{
zval **r = (zval **) el;
TSRMLS_FETCH();
- getObjectEx(http_request_object, obj, *r);
- curl_easy_setopt(obj->request->ch, CURLOPT_SHARE, NULL);
- zval_ptr_dtor(r);
+ { /* gcc 2.95 needs these braces */
+ getObjectEx(http_request_object, obj, *r);
+
+ curl_easy_setopt(obj->request->ch, CURLOPT_SHARE, NULL);
+ zval_ptr_dtor(r);
+ }
}
#ifdef ZTS