Update JackNetUnixSocket.cpp
This commit is contained in:
parent
7e599badec
commit
ffdb275081
|
@ -143,7 +143,7 @@ namespace Jack
|
||||||
}
|
}
|
||||||
|
|
||||||
char host_name[32];
|
char host_name[32];
|
||||||
gethostname(host_name, sizeof(host_name));
|
GetHostName(host_name, sizeof(host_name));
|
||||||
|
|
||||||
struct hostent* host = gethostbyname(host_name);
|
struct hostent* host = gethostbyname(host_name);
|
||||||
if (host) {
|
if (host) {
|
||||||
|
|
Loading…
Reference in New Issue