diff options
author | Anatol Belski <ab@php.net> | 2018-08-02 18:59:34 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2018-08-02 18:59:34 +0200 |
commit | 19592519c2803a42762e8fee18505083dc3474fc (patch) | |
tree | 2daab71327193ef5478e7e427f2397cfd3eb3a2c /ext/com_dotnet/com_saproxy.c | |
parent | 74988eed9972c498a0fc57f3bd035bab189a03ab (diff) | |
download | php-git-19592519c2803a42762e8fee18505083dc3474fc.tar.gz |
Fix callbacks
The signatures wasn't synced in 7.0
Diffstat (limited to 'ext/com_dotnet/com_saproxy.c')
-rw-r--r-- | ext/com_dotnet/com_saproxy.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/com_dotnet/com_saproxy.c b/ext/com_dotnet/com_saproxy.c index 09dce26061..4fff134178 100644 --- a/ext/com_dotnet/com_saproxy.c +++ b/ext/com_dotnet/com_saproxy.c @@ -514,15 +514,13 @@ static void saproxy_iter_get_key(zend_object_iterator *iter, zval *key) } } -static int saproxy_iter_move_forwards(zend_object_iterator *iter) +static void saproxy_iter_move_forwards(zend_object_iterator *iter) { php_com_saproxy_iter *I = (php_com_saproxy_iter*)Z_PTR(iter->data); if (++I->key >= I->imax) { I->key = -1; - return FAILURE; } - return SUCCESS; } static zend_object_iterator_funcs saproxy_iter_funcs = { |