From 1f7b3f452a7ca7d47521581968365739e526e049 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 22 Oct 2014 16:19:23 +0200 Subject: [PATCH] don't enable this for debug builds --- php_http_client_curl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php_http_client_curl.c b/php_http_client_curl.c index af77b92..9fc0291 100644 --- a/php_http_client_curl.c +++ b/php_http_client_curl.c @@ -282,7 +282,7 @@ static int php_http_curle_raw_callback(CURL *ch, curl_infotype type, char *data, } else if (php_memnstr(data, ZEND_STRL("Operation timed out"), data + length)) { h->progress.info = "timeout"; } else { -#if PHP_DEBUG +#if 0 h->progress.info = data; data[length - 1] = '\0'; #endif -- 2.30.2