X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_info.c;fp=http_request_info.c;h=1d12f36d397f0e26ee05f2c0dbd44f310c251844;hp=110021102687bd9594907c186e015c2d04f1ef69;hb=d8d4c50ac3637c4fafae5cec91501795b334c11e;hpb=9f4226597c09ccdf74db2be0ef76d9e135e7c71c diff --git a/http_request_info.c b/http_request_info.c index 1100211..1d12f36 100644 --- a/http_request_info.c +++ b/http_request_info.c @@ -125,7 +125,7 @@ PHP_HTTP_API void _http_request_info(http_request *request, HashTable *info) } #endif /* END */ - add_assoc_string_ex(&array, "error", sizeof("error"), request->_error, 1); + add_assoc_string_ex(&array, "error", sizeof("error"), http_request_storage_get(request->ch)->errorbuffer, 1); } /* }}} */