From: Antony Dovgal Date: Wed, 18 Jan 2006 23:39:00 +0000 (+0000) Subject: fix typo (and possible segfault) X-Git-Tag: RELEASE_0_9_4~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f07cff61c2fa5dd4e49d561d901b26e7cff7ff7;p=php fix typo (and possible segfault) --- diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c index c0591133c5..6a41777e7f 100755 --- a/ext/spl/spl_iterators.c +++ b/ext/spl/spl_iterators.c @@ -1890,7 +1890,7 @@ SPL_METHOD(CachingIterator, setFlags) intern = (spl_dual_it_object*)zend_object_store_get_object(getThis() TSRMLS_CC); - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", flags) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &flags) == FAILURE) { return; }