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=71bd4fc21ed5c433d953c98b28ea4ef5b8f6d2af;hp=bb7e601e66de2904a4abc8904de79b1683eb98f7;hb=2f5421a388a398ec47ff0c44e2a8c99a6ad08087;hpb=bdaebfc338f06807fd985f40a38006a968f5b574 diff --git a/http_request_info.c b/http_request_info.c index bb7e601..71bd4fc 100644 --- a/http_request_info.c +++ b/http_request_info.c @@ -119,7 +119,7 @@ PHP_HTTP_API void _http_request_info(http_request *request, HashTable *info) for (p = s; p; p = p->next) { add_next_index_string(subarray, p->data, 1); } - add_assoc_zval_ex(&array, "cookielist", sizeof("cookielist"), subarray); + add_assoc_zval_ex(&array, "cookies", sizeof("cookies"), subarray); curl_slist_free_all(s); } #endif