Commit 92b9de24 authored by antirez's avatar antirez
Browse files

Cluster announce: WIP, allow building again.

parent 5ac5e3eb
...@@ -168,7 +168,7 @@ int clusterLoadConfig(char *filename) { ...@@ -168,7 +168,7 @@ int clusterLoadConfig(char *filename) {
if ((p = strrchr(argv[1],':')) == NULL) goto fmterr; if ((p = strrchr(argv[1],':')) == NULL) goto fmterr;
*p = '\0'; *p = '\0';
memcpy(n->ip,argv[1],strlen(argv[1])+1); memcpy(n->ip,argv[1],strlen(argv[1])+1);
this_is_broken(); // this_is_broken();
char *busp = strchr(p+1,':'); char *busp = strchr(p+1,':');
if (busp) *busp = '\0'; if (busp) *busp = '\0';
n->port = atoi(p+1); n->port = atoi(p+1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment