Skip to content

Commit e9d3d01

Browse files
committed
Merge branch 'master' of github.com:swoole/swoole-src
2 parents 519598d + 222f805 commit e9d3d01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swoole_redis.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ static void swoole_redis_event_Cleanup(void *privdata)
634634
zval **args[1];
635635
args[0] = &redis->object;
636636

637-
if (sw_call_user_function_ex(EG(function_table), NULL, redis->connect_callback, &retval, 2, args, 0, NULL TSRMLS_CC) != SUCCESS)
637+
if (sw_call_user_function_ex(EG(function_table), NULL, redis->connect_callback, &retval, 1, args, 0, NULL TSRMLS_CC) != SUCCESS)
638638
{
639639
swoole_php_fatal_error(E_WARNING, "swoole_async_mysql callback handler error.");
640640
}

0 commit comments

Comments
 (0)