mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 12:12:50 +01:00
fix null chars in hostname log message
This commit is contained in:
parent
3c4c830e20
commit
01d14aed80
@ -111,7 +111,7 @@ bool np_handler::discover_ip_address()
|
||||
return false;
|
||||
}
|
||||
|
||||
nph_log.notice("Hostname was determined to be %s", hostname);
|
||||
nph_log.notice("Hostname was determined to be %s", hostname.c_str());
|
||||
|
||||
hostent *host = gethostbyname(hostname.data());
|
||||
if (!host)
|
||||
|
Loading…
Reference in New Issue
Block a user