Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
d3bf8542
Commit
d3bf8542
authored
Jun 07, 2012
by
Geoff Garside
Committed by
antirez
Jul 11, 2013
Browse files
Fix calls to anetPeerToString() missing buffer size.
parent
47620a31
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis.c
View file @
d3bf8542
...
@@ -2349,7 +2349,7 @@ sds genRedisInfoString(char *section) {
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment