From: Michael Wallner Date: Mon, 13 Jun 2016 07:44:25 +0000 (+0200) Subject: fix undefined symbol ZEND_ASSERT X-Git-Tag: RELEASE_2_6_0_BETA1~13 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=a1d6c90d8630ec1385f10052656d129498720adf;hp=-c fix undefined symbol ZEND_ASSERT --- a1d6c90d8630ec1385f10052656d129498720adf diff --git a/src/php_http_client_curl_event.c b/src/php_http_client_curl_event.c index 9b1808b..058c51f 100644 --- a/src/php_http_client_curl_event.c +++ b/src/php_http_client_curl_event.c @@ -289,8 +289,6 @@ static void php_http_client_curl_event_dtor(void **context) fprintf(stderr, "D"); #endif - ZEND_ASSERT(ctx); - curl = ctx->client->ctx; curl_multi_setopt(curl->handle->multi, CURLMOPT_SOCKETDATA, NULL); diff --git a/src/php_http_client_curl_user.c b/src/php_http_client_curl_user.c index 94d7f41..6fdfa36 100644 --- a/src/php_http_client_curl_user.c +++ b/src/php_http_client_curl_user.c @@ -243,8 +243,6 @@ static void php_http_client_curl_user_dtor(void **context) fprintf(stderr, "D"); #endif - ZEND_ASSERT(ctx); - curl = ctx->client->ctx; curl_multi_setopt(curl->handle->multi, CURLMOPT_SOCKETDATA, NULL);