mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-06 00:30:03 +01:00
Fix possible cur_ip nullptr usage in np_handler.cpp
This commit is contained in:
parent
6374a9f19b
commit
86cf8a1717
|
|
@ -69,7 +69,10 @@ np_handler::np_handler()
|
|||
is_connected = false;
|
||||
cur_ip = "0.0.0.0";
|
||||
}
|
||||
cur_ip = p;
|
||||
else
|
||||
{
|
||||
cur_ip = p;
|
||||
}
|
||||
|
||||
struct in_addr addr;
|
||||
inet_pton(AF_INET, cur_ip.c_str(), &addr);
|
||||
|
|
|
|||
Loading…
Reference in a new issue