Update JackNetUnixSocket.cpp

This commit is contained in:
ihsinme 2021-09-27 18:10:27 +03:00 committed by falkTX
parent 7e599badec
commit ffdb275081
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ namespace Jack
}
char host_name[32];
gethostname(host_name, sizeof(host_name));
GetHostName(host_name, sizeof(host_name));
struct hostent* host = gethostbyname(host_name);
if (host) {