Skip to content

Commit 51c9baf

Browse files
committed
fix zpp in mem_cas_impl
1 parent 015776b commit 51c9baf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

php_memcached.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2089,8 +2089,8 @@ static void php_memc_cas_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)
20892089
MEMC_METHOD_INIT_VARS;
20902090

20912091
if (by_key) {
2092-
/* "zSSz|ll" */
2093-
ZEND_PARSE_PARAMETERS_START(4, 6)
2092+
/* "zSSz|l" */
2093+
ZEND_PARSE_PARAMETERS_START(4, 5)
20942094
Z_PARAM_ZVAL(zv_cas)
20952095
Z_PARAM_STR(server_key)
20962096
Z_PARAM_STR(key)
@@ -2099,8 +2099,8 @@ static void php_memc_cas_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)
20992099
Z_PARAM_LONG(expiration)
21002100
ZEND_PARSE_PARAMETERS_END();
21012101
} else {
2102-
/* "zSz|ll" */
2103-
ZEND_PARSE_PARAMETERS_START(3, 5)
2102+
/* "zSz|l" */
2103+
ZEND_PARSE_PARAMETERS_START(3, 4)
21042104
Z_PARAM_ZVAL(zv_cas)
21052105
Z_PARAM_STR(key)
21062106
Z_PARAM_ZVAL(value)

0 commit comments

Comments
 (0)