X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_request_info.c;h=71bd4fc21ed5c433d953c98b28ea4ef5b8f6d2af;hb=fe0761a31f82ea9807f9dcdc4bce3e9de9c766b4;hp=bb7e601e66de2904a4abc8904de79b1683eb98f7;hpb=aebfa7783e7b280bff4975649b20494e5eb932bc;p=m6w6%2Fext-http 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