mirror of
https://github.com/phpredis/phpredis.git
synced 2026-06-19 07:35:31 +00:00
refactor: Modernize redis_session.c logic
* Switch to using `zend_string*` in a lot of places that were previously deconstructing the `zend_string` into the char and len. * Various other minor bits of cleanup.
This commit is contained in:
committed by
Michael Grunder
parent
ae74b64be7
commit
738cedd284
+2
-2
@@ -359,8 +359,8 @@ zend_string *cluster_hash_seeds(zend_string **seeds, uint32_t nseeds);
|
||||
/* Get the current time in milliseconds */
|
||||
long long mstime(void);
|
||||
|
||||
PHP_REDIS_API short cluster_send_command(redisCluster *c, short slot, const char *cmd,
|
||||
int cmd_len);
|
||||
PHP_REDIS_API short cluster_send_command(redisCluster *c, short slot,
|
||||
const char *cmd, int cmd_len);
|
||||
|
||||
PHP_REDIS_API void cluster_disconnect(redisCluster *c, int force);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user