Skip to content

Commit 015776b

Browse files
committed
fix incorrect zp, fixes #484
1 parent 19a02bb commit 015776b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: php_memcached.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1876,15 +1876,15 @@ static void php_memc_setMulti_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_ke
18761876

18771877
if (by_key) {
18781878
/* "Sa|ll" */
1879-
ZEND_PARSE_PARAMETERS_START(2, 4)
1879+
ZEND_PARSE_PARAMETERS_START(2, 3)
18801880
Z_PARAM_STR(server_key)
18811881
Z_PARAM_ARRAY(entries)
18821882
Z_PARAM_OPTIONAL
18831883
Z_PARAM_LONG(expiration)
18841884
ZEND_PARSE_PARAMETERS_END();
18851885
} else {
18861886
/* "a|ll" */
1887-
ZEND_PARSE_PARAMETERS_START(1, 3)
1887+
ZEND_PARSE_PARAMETERS_START(1, 2)
18881888
Z_PARAM_ARRAY(entries)
18891889
Z_PARAM_OPTIONAL
18901890
Z_PARAM_LONG(expiration)

0 commit comments

Comments
 (0)