mirror of https://github.com/cy384/ssheven.git
don't hang if the endpoint fails to open (GH bug #4)
This commit is contained in:
parent
d967b7641b
commit
d6306c706e
|
@ -524,6 +524,13 @@ void* read_thread(void* arg)
|
|||
|
||||
// connect
|
||||
ok = init_connection(prefs.hostname+1);
|
||||
|
||||
if (!ok)
|
||||
{
|
||||
read_thread_state = DONE;
|
||||
return 0;
|
||||
}
|
||||
|
||||
YieldToAnyThread();
|
||||
|
||||
// check the server pub key vs. known hosts
|
||||
|
|
Loading…
Reference in New Issue