mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 18:57:07 -07:00
Start Session on Android
This commit is contained in:
parent
cd50874705
commit
093cd6e443
10 changed files with 190 additions and 23 deletions
|
@ -584,6 +584,11 @@ static bool session_thread_request_session(ChiakiSession *session)
|
|||
session_sock = socket(ai->ai_family, SOCK_STREAM, 0);
|
||||
if(CHIAKI_SOCKET_IS_INVALID(session_sock))
|
||||
{
|
||||
#ifdef _WIN32
|
||||
CHIAKI_LOGE(session->log, "Failed to create socket to request session");
|
||||
#else
|
||||
CHIAKI_LOGE(session->log, "Failed to create socket to request session: %s", strerror(errno));
|
||||
#endif
|
||||
free(sa);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue