mirror of
https://github.com/fluencelabs/redis
synced 2025-06-13 09:11:20 +00:00
All IP string repr buffers are now REDIS_IP_STR_LEN bytes.
This commit is contained in:
@ -306,7 +306,7 @@ void freeClusterLink(clusterLink *link) {
|
||||
|
||||
void clusterAcceptHandler(aeEventLoop *el, int fd, void *privdata, int mask) {
|
||||
int cport, cfd;
|
||||
char cip[128]; /* Could use INET6_ADDRSTRLEN here, but its smaller */
|
||||
char cip[REDIS_IP_STR_LEN];
|
||||
clusterLink *link;
|
||||
REDIS_NOTUSED(el);
|
||||
REDIS_NOTUSED(mask);
|
||||
|
Reference in New Issue
Block a user