Skip to content

Commit d990b4c

Browse files
committed
Merge branch 'master' of github.com:nicolasff/phpredis
2 parents 158d90b + 4169dc2 commit d990b4c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

redis.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5734,7 +5734,7 @@ PHP_METHOD(Redis, config)
57345734

57355735
// Construct an EVAL or EVALSHA command, with option argument array and number of arguments that are keys parameter
57365736
PHPAPI int
5737-
redis_build_eval_cmd(RedisSock *redis_sock, char **ret, char *keyword, char *value, int val_len, zval *args, int keys_count) {
5737+
redis_build_eval_cmd(RedisSock *redis_sock, char **ret, char *keyword, char *value, int val_len, zval *args, int keys_count TSRMLS_DC) {
57385738
zval **elem;
57395739
HashTable *args_hash;
57405740
HashPosition hash_pos;
@@ -5830,7 +5830,7 @@ PHP_METHOD(Redis, evalsha)
58305830
}
58315831

58325832
// Construct our EVALSHA command
5833-
cmd_len = redis_build_eval_cmd(redis_sock, &cmd, "EVALSHA", sha, sha_len, args, keys_count);
5833+
cmd_len = redis_build_eval_cmd(redis_sock, &cmd, "EVALSHA", sha, sha_len, args, keys_count TSRMLS_CC);
58345834

58355835
REDIS_PROCESS_REQUEST(redis_sock, cmd, cmd_len);
58365836
IF_ATOMIC() {
@@ -5862,7 +5862,7 @@ PHP_METHOD(Redis, eval)
58625862
}
58635863

58645864
// Construct our EVAL command
5865-
cmd_len = redis_build_eval_cmd(redis_sock, &cmd, "EVAL", script, script_len, args, keys_count);
5865+
cmd_len = redis_build_eval_cmd(redis_sock, &cmd, "EVAL", script, script_len, args, keys_count TSRMLS_CC);
58665866

58675867
REDIS_PROCESS_REQUEST(redis_sock, cmd, cmd_len);
58685868
IF_ATOMIC() {

0 commit comments

Comments
 (0)