From: Michael Wallner Date: Mon, 19 Sep 2005 15:09:34 +0000 (+0000) Subject: - missed fixbit X-Git-Tag: RELEASE_0_14_0~17 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=df3c115036f68f27e0c89efeab016c51de008037;p=m6w6%2Fext-http - missed fixbit --- diff --git a/http_headers_api.c b/http_headers_api.c index 4f255fe..8a4ecc5 100644 --- a/http_headers_api.c +++ b/http_headers_api.c @@ -331,9 +331,7 @@ PHP_HTTP_API STATUS _http_parse_headers_ex(const char *header, HashTable *header size_t header_len; zval array; - INIT_PZVAL(&array); - Z_TYPE_P(array) = IS_ARRAY; - Z_ARRVAL(array) = headers; + INIT_ZARR(array, headers); if (body) { header_len = body - header;