mirror of
https://github.com/phpredis/phpredis.git
synced 2026-06-19 07:35:31 +00:00
Use ZEND_STRL instead of literal, len
This commit is contained in:
committed by
Michael Grunder
parent
a0621555b5
commit
f4ec5e2bb0
+1
-1
@@ -2407,7 +2407,7 @@ int redis_set_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
|
||||
(keep_ttl != 0) + get;
|
||||
|
||||
/* Initial SET <key> <value> */
|
||||
redis_cmd_init_sstr(&cmdstr, argc, "SET", 3);
|
||||
redis_cmd_init_sstr(&cmdstr, argc, ZEND_STRL("SET"));
|
||||
redis_cmd_append_sstr_key(&cmdstr, key, key_len, redis_sock, slot);
|
||||
redis_cmd_append_sstr_zval(&cmdstr, z_value, redis_sock);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user