X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_object.c;h=ad7a8786d5e79734222975163f27e6bff9bf5f94;hp=1efdbf87d65952bf4724db091187ff7531453417;hb=1e4135540cb45994d2fc3ef3ede3bc168a7d839c;hpb=17c7ed7977e05599b03fbc2535123760ac65daf2 diff --git a/http_request_object.c b/http_request_object.c index 1efdbf8..ad7a878 100644 --- a/http_request_object.c +++ b/http_request_object.c @@ -1408,7 +1408,7 @@ PHP_METHOD(HttpRequest, getResponseInfo) if (info_len && info_name) { if (SUCCESS == zend_hash_find(Z_ARRVAL_P(info), pretty_key(info_name, info_len, 0, 0), info_len + 1, (void **) &infop)) { - RETURN_ZVAL(*infop, 1, ZVAL_PTR_DTOR); + RETURN_ZVAL(*infop, 1, 0); } else { http_error_ex(HE_NOTICE, HTTP_E_INVALID_PARAM, "Could not find response info named %s", info_name); RETURN_FALSE;