mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 08:38:27 -05:00
Cluster announce: WIP, allow building again.
This commit is contained in:
parent
5ac5e3ebd7
commit
92b9de2417
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user