From: Michael Wallner Date: Tue, 19 Sep 2006 22:55:34 +0000 (+0000) Subject: - attempt to fix gcc-2.95 build X-Git-Tag: RELEASE_1_3_1~14 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=bb827588f8c9dcaf0cb81d43cfac74d9ca02b311;p=m6w6%2Fext-http - attempt to fix gcc-2.95 build --- diff --git a/http_request_datashare_api.c b/http_request_datashare_api.c index 2bf0563..013ecac 100644 --- 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