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
abd95ffd
Commit
abd95ffd
authored
Dec 17, 2014
by
Salvatore Sanfilippo
Browse files
Merge pull request #1582 from mattsta/add-error-mention-to-error-condition
Cluster: Update accept error to mention error
parents
9a635431
a772747f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
abd95ffd
...
@@ -593,7 +593,7 @@ void clusterAcceptHandler(aeEventLoop *el, int fd, void *privdata, int mask) {
...
@@ -593,7 +593,7 @@ void clusterAcceptHandler(aeEventLoop *el, int fd, void *privdata, int mask) {
if
(
cfd
==
ANET_ERR
)
{
if
(
cfd
==
ANET_ERR
)
{
if
(
errno
!=
EWOULDBLOCK
)
if
(
errno
!=
EWOULDBLOCK
)
redisLog
(
REDIS_VERBOSE
,
redisLog
(
REDIS_VERBOSE
,
"
A
ccepting cluster node: %s", server.neterr);
"
Error a
ccepting cluster node: %s"
,
server
.
neterr
);
return
;
return
;
}
}
anetNonBlock
(
NULL
,
cfd
);
anetNonBlock
(
NULL
,
cfd
);
...
...
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