mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-18 07:58:14 +00:00
Oops, need a temporary when there's no port.
This commit is contained in:
parent
e4223dbcb0
commit
6483b51f24
@ -86,10 +86,10 @@ namespace Reporting
|
||||
|
||||
std::string host = ServerHost();
|
||||
size_t length = ServerHostnameLength();
|
||||
if (length == host.npos)
|
||||
return host.c_str();
|
||||
|
||||
lastHostname = host.substr(0, length);
|
||||
if (length == lastHostname.npos)
|
||||
return lastHostname.c_str();
|
||||
return lastHostname.c_str();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user