Configure state added

FossilOrigin-Name: bdaa0952de0343064d13effbfefc5412a6561649a7638df4a7c2bb6851d6365d
This commit is contained in:
7u83@mail.ru 2014-07-19 11:26:45 +00:00
parent 5f9900b33d
commit f0841170be
1 changed files with 6 additions and 1 deletions

View File

@ -76,10 +76,15 @@ int do_connect(void *priv,void *data)
sock_setport(&ip->ip,atoi(conf_control_port));
// printf("Would connect to %s\n",str);
int rc =join(&ip->ip);
int rc;
rc = join(&ip->ip);
if (!rc)
return 1;
rc = configure();
run (get_conn());
return 0;
}