X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_object.c;h=09d7822d90b0124855b1f02e2a221452eff532b3;hp=10a26b0ab9f23263bfbde75cc29c2a1ca89262a9;hb=42ed05ae82599af080b95f073809da8a8b47c84b;hpb=4ff2f45b61907d9b943fa6179c03b54257bdfca5 diff --git a/http_request_object.c b/http_request_object.c index 10a26b0..09d7822 100644 --- a/http_request_object.c +++ b/http_request_object.c @@ -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());