- ditch redundant http_split_response
[m6w6/ext-http] / http_request_api.c
index 3644f9d3fd7816436b3cce2e607cb63c275923d0..6eb31fbc4eb502a84060e3363949d353018dac79 100644 (file)
@@ -47,7 +47,7 @@
 ZEND_EXTERN_MODULE_GLOBALS(http)
 
 #if LIBCURL_VERSION_NUM < 0x070c00
-#      define curl_easy_strerror(code) HTTP_G(request).curl.error
+#      define curl_easy_strerror(code) HTTP_G(request).error
 #endif
 
 #define HTTP_CURL_INFO(I) HTTP_CURL_INFO_EX(I, I)