summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_saproxy.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-08-02 21:40:50 +0200
committerAnatol Belski <ab@php.net>2018-08-02 21:40:50 +0200
commitcd07fa48ba74d52bfe700e50dd308d78ac607f55 (patch)
treec6495c36faa0024d23c2f3fb612740ade16625c4 /ext/com_dotnet/com_saproxy.c
parent9d7c510893b7e3648fceaa14620e7d9b04721c0f (diff)
parent91a0a10f715d1c32adab83b55bd970cfbaba9721 (diff)
downloadphp-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.c4
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 = {