cvs: ZendEngine2 / zend_hash.c
| From: | Marcus Boerger | Date: | Sat, 19 Jul 2003 20:04:51 +0000 |
| Subject: | cvs: ZendEngine2 / zend_hash.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1486@lists.php.net to get a copy of this message | ||
helly Sat Jul 19 16:04:51 2003 EDT
Modified files:
/ZendEngine2 zend_hash.c
Log:
This is meant to be used in for(;has_more;next)
# Probably the name of such functions should be eol (End-Of-List).
Index: ZendEngine2/zend_hash.c
diff -u ZendEngine2/zend_hash.c:1.103 ZendEngine2/zend_hash.c:1.104
--- ZendEngine2/zend_hash.c:1.103 Sat Jul 19 10:19:04 2003
+++ ZendEngine2/zend_hash.c Sat Jul 19 16:04:51 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_hash.c,v 1.103 2003/07/19 14:19:04 helly Exp $ */
+/* $Id: zend_hash.c,v 1.104 2003/07/19 20:04:51 helly Exp $ */
#include "zend.h"
@@ -1011,7 +1011,7 @@
IS_CONSISTENT(ht);
- if (*current && (*current)->pListNext) {
+ if (*current) {
return SUCCESS;
} else {
return FAILURE;