Add fallback if getnameinfo fails

This commit is contained in:
Florian Märkl 2020-12-30 12:37:28 +01:00
commit 89c3175d71
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
2 changed files with 4 additions and 4 deletions

View file

@ -155,7 +155,7 @@ typedef struct chiaki_session_t
bool ps5;
struct addrinfo *host_addrinfos;
struct addrinfo *host_addrinfo_selected;
char hostname[128];
char hostname[256];
char regist_key[CHIAKI_RPCRYPT_KEY_SIZE];
uint8_t morning[CHIAKI_RPCRYPT_KEY_SIZE];
uint8_t did[CHIAKI_RP_DID_SIZE];