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 47620a3186
commit d3bf85423a

View File

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