fix 5.3 build once again
[m6w6/ext-http] / http_request_object.c
index 10a26b0ab9f23263bfbde75cc29c2a1ca89262a9..09d7822d90b0124855b1f02e2a221452eff532b3 100644 (file)
@@ -637,7 +637,7 @@ STATUS _http_request_object_requesthandler(http_request_object *obj, zval *this_
                        
                        if (    (Z_TYPE_P(options) != IS_ARRAY)
                                ||      (SUCCESS != zend_hash_find(Z_ARRVAL_P(options), "onprogress", sizeof("onprogress"), (void *) &entry)
-                               ||      (!zend_is_callable(*entry, 0, NULL)))) {
+                               ||      (!IS_CALLABLE(*entry, 0, NULL)))) {
                                MAKE_STD_ZVAL(pcb);
                                array_init(pcb);
                                ZVAL_ADDREF(getThis());