Fix calls to anetPeerToString() missing buffer size.

This commit is contained in:
Geoff Garside 2012-06-07 19:01:51 +01:00 committed by antirez
parent e2517f47cd
commit f0eb97325c

View File

@ -2424,7 +2424,7 @@ sds genRedisInfoString(char *section) {
while((ln = listNext(&li))) {
redisClient *slave = listNodeValue(ln);
char *state = NULL;
char ip[32];
char ip[INET6_ADDRSTRLEN];
int port;
long lag = 0;