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
2160effc
Commit
2160effc
authored
Jul 05, 2013
by
antirez
Browse files
Revert "Cluster: use new anet.c listening socket creation API."
This reverts commit
016ac38a
.
parent
c978b864
Changes
1
Show whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
2160effc
...
...
@@ -252,8 +252,7 @@ void clusterInit(void) {
if (saveconf) clusterSaveConfigOrDie();
/* We need a listening TCP port for our cluster messaging needs */
server.cfd = anetTcpServer(server.neterr,
server.port+REDIS_CLUSTER_PORT_INCR, server.bindaddr,
server.bindaddr_count);
server.port+REDIS_CLUSTER_PORT_INCR, server.bindaddr);
if (server.cfd == -1) {
redisLog(REDIS_WARNING, "Opening cluster TCP port: %s", server.neterr);
exit(1);
...
...
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