Date: Wed Feb 20 09:03:43 CET 2002
User: Derick Rethans
Directory: php_srm
Log Message:
[0.50]
- Fix for bug in accessing the hash member of an srm_value during conversion
with zvals
Modified files:
php_srm/srm_util.c (version: 1.7)
[FILE: /php_srm/srm_util.c]
--- php_srm/srm_util.c:1.6 Sun Feb 10 20:20:20 2002 GMT
+++ php_srm/srm_util.c Wed Feb 20 07:03:42 2002 GMT
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cvstemp,v 1.6 2002/02/10 21:20:20 sterling Exp $ */
+/* $Id: cvstemp,v 1.7 2002/02/20 08:03:42 derick Exp $ */
#include <srm_client.h>
#include <php.h>
@@ -158,7 +158,7 @@
srm_llist_element *record;
MAKE_STD_ZVAL(result_array);
- num_items = srm_llist_count(SRMVALP_LIST(value));
+ num_items = (SRMVALP_HASH(value))->size;
array_init(result_array);
for (i = 0; i < (SRMVALP_HASH(value))->slots; i++) {
Received on Wed Feb 20 09:03:35 2002
This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 09:00:03 CET