Configure state added
FossilOrigin-Name: bdaa0952de0343064d13effbfefc5412a6561649a7638df4a7c2bb6851d6365d
This commit is contained in:
parent
5f9900b33d
commit
f0841170be
@ -76,10 +76,15 @@ int do_connect(void *priv,void *data)
|
|||||||
sock_setport(&ip->ip,atoi(conf_control_port));
|
sock_setport(&ip->ip,atoi(conf_control_port));
|
||||||
// printf("Would connect to %s\n",str);
|
// printf("Would connect to %s\n",str);
|
||||||
|
|
||||||
int rc =join(&ip->ip);
|
int rc;
|
||||||
|
rc = join(&ip->ip);
|
||||||
if (!rc)
|
if (!rc)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
|
||||||
|
rc = configure();
|
||||||
|
|
||||||
|
|
||||||
run (get_conn());
|
run (get_conn());
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user