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
334a9789
Unverified
Commit
334a9789
authored
Jul 16, 2021
by
ZEEKLING
Committed by
GitHub
Jul 15, 2021
Browse files
fix timeout spell error (#9150)
parent
6a5bac30
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
334a9789
...
@@ -6513,7 +6513,7 @@ reply_err:;
...
@@ -6513,7 +6513,7 @@ reply_err:;
int
need_free
=
0
;
int
need_free
=
0
;
if
(
err
==
NULL
)
err
=
""
;
if
(
err
==
NULL
)
err
=
""
;
else
need_free
=
1
;
else
need_free
=
1
;
clusterManagerLogErr
(
"ERR setting node-timeot for %s:%d: %s
\n
"
,
n
->
ip
,
clusterManagerLogErr
(
"ERR setting node-timeo
u
t for %s:%d: %s
\n
"
,
n
->
ip
,
n
->
port
,
err
);
n
->
port
,
err
);
if
(
need_free
)
zfree
(
err
);
if
(
need_free
)
zfree
(
err
);
err_count
++
;
err_count
++
;
...
...
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