mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
Cluster anounce-ip/port WIP.
This commit is contained in:
parent
4abf486ca3
commit
d0a8512eda
@ -168,6 +168,7 @@ int clusterLoadConfig(char *filename) {
|
||||
if ((p = strrchr(argv[1],':')) == NULL) goto fmterr;
|
||||
*p = '\0';
|
||||
memcpy(n->ip,argv[1],strlen(argv[1])+1);
|
||||
this_is_broken();
|
||||
char *busp = strchr(p+1,':');
|
||||
if (busp) *busp = '\0';
|
||||
n->port = atoi(p+1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user