X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_api.c;h=49b699b04dba59a7fea3b83827273d72f5b2a2a7;hp=eb4d6271aa238326ffd368a760a332e9526e8cc1;hb=13941ce7e1264e891630fc7f909bbd11a1282721;hpb=68142ac3f4879edac62d5a43c479721ae71ea014 diff --git a/http_request_api.c b/http_request_api.c index eb4d627..49b699b 100644 --- a/http_request_api.c +++ b/http_request_api.c @@ -349,7 +349,7 @@ PHP_HTTP_API STATUS _http_request_init(CURL *ch, http_request_method meth, const HTTP_CURL_OPT(NOSIGNAL, 1); #endif #if LIBCURL_VERSION_NUM < 0x070c00 - HTTP_CURL_OPT(ERRORBUFFER, HTTP_G(request).curl.error); + HTTP_CURL_OPT(ERRORBUFFER, HTTP_G(request).error); #endif /* progress callback */