- ditch useless convert
[m6w6/ext-http] / http_request_object.c
index 40b9dd3451bb6cb6366674cbc300c0e7f7670ab6..ef8445c30c122f8c56e95af711b0ceaf6023007f 100644 (file)
@@ -1536,7 +1536,6 @@ PHP_METHOD(HttpRequest, getResponseCookies)
                                }
                        }
                        
-                       convert_to_array(*headers);
                        FOREACH_HASH_KEYVAL(pos1, Z_ARRVAL_PP(headers), key, idx, header) {
                                if (key && !strcasecmp(key, "Set-Cookie")) {
                                        http_cookie_list list;