From 121eac188fc0c1cabe3ea571a72867d3fd6b1b3f Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 31 Jan 2007 08:31:33 +0000 Subject: [PATCH] - make ist behave like a stack, not like a queue --- http_persistent_handle_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_persistent_handle_api.c b/http_persistent_handle_api.c index 8fc1b02..159d378 100644 --- a/http_persistent_handle_api.c +++ b/http_persistent_handle_api.c @@ -147,7 +147,7 @@ PHP_HTTP_API STATUS _http_persistent_handle_acquire_ex(const char *name_str, siz LOCK(); if (SUCCESS == zend_hash_find(&http_persistent_handles_hash, (char *) name_str, name_len+1, (void *) &hentry)) { - zend_hash_internal_pointer_reset(&hentry->list); + zend_hash_internal_pointer_end(&hentry->list); if ( HASH_KEY_NON_EXISTANT != zend_hash_get_current_key(&hentry->list, NULL, &index, 0) && SUCCESS == zend_hash_get_current_data(&hentry->list, (void *) &lentry)) { *handle = lentry->handle; -- 2.30.2