diff options
author | Anatol Belski <ab@php.net> | 2018-08-02 21:40:50 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2018-08-02 21:40:50 +0200 |
commit | cd07fa48ba74d52bfe700e50dd308d78ac607f55 (patch) | |
tree | c6495c36faa0024d23c2f3fb612740ade16625c4 /ext/com_dotnet/com_saproxy.c | |
parent | 9d7c510893b7e3648fceaa14620e7d9b04721c0f (diff) | |
parent | 91a0a10f715d1c32adab83b55bd970cfbaba9721 (diff) | |
download | php-git-cd07fa48ba74d52bfe700e50dd308d78ac607f55.tar.gz |
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix callbacks
bump version
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 a8cd9b9214..68c814f4b4 100644 --- a/ext/com_dotnet/com_saproxy.c +++ b/ext/com_dotnet/com_saproxy.c @@ -512,15 +512,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 const zend_object_iterator_funcs saproxy_iter_funcs = { |