X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_requestpool_object.c;h=30bfbdea405a0e8dafd3417f8ecc6893099ddf49;hb=a343fa32a9cfa77208c68bd8f73338b6f03a2f56;hp=004ab835d70b332598fb2bd7f3ceb9100eb65c9e;hpb=32e91737086db53bb1fd9ed9f79d693c43ec459f;p=m6w6%2Fext-http diff --git a/http_requestpool_object.c b/http_requestpool_object.c index 004ab83..30bfbde 100644 --- a/http_requestpool_object.c +++ b/http_requestpool_object.c @@ -12,10 +12,6 @@ /* $Id$ */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - #define HTTP_WANT_CURL #include "php_http.h" @@ -430,7 +426,7 @@ PHP_METHOD(HttpRequestPool, current) current && obj->iterator.pos != pos++; current = zend_llist_get_next_ex(&obj->pool.handles, &lpos)); if (current) { - RETURN_OBJECT(*current); + RETURN_OBJECT(*current, 1); } } RETURN_NULL();