- (non-)ZTS fixes
[m6w6/ext-http] / http_requestdatashare_object.c
index 451aefe..af8e9d4 100644 (file)
@@ -193,7 +193,7 @@ PHP_METHOD(HttpRequestDataShare, count)
        
        NO_ARGS;
        
-       RETURN_LONG(zend_llist_count(&obj->share->handles));
+       RETURN_LONG(zend_llist_count(HTTP_RSHARE_HANDLES(obj->share)));
 }
 /* }}} */