projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
42dd649
)
- make ist behave like a stack, not like a queue
author
Michael Wallner
<mike@php.net>
Wed, 31 Jan 2007 08:31:33 +0000
(08:31 +0000)
committer
Michael Wallner
<mike@php.net>
Wed, 31 Jan 2007 08:31:33 +0000
(08:31 +0000)
http_persistent_handle_api.c
patch
|
blob
|
history
diff --git
a/http_persistent_handle_api.c
b/http_persistent_handle_api.c
index 8fc1b02f72d1a775d9a0a00c256472712774fd2c..159d378f50b1870089bb2e0c01aeb29288ea5b39 100644
(file)
--- 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;