mirror of
https://github.com/tnodir/fort
synced 2024-11-15 06:06:30 +00:00
Minor fix
This commit is contained in:
parent
bd6cad26ed
commit
5713681d93
@ -45,7 +45,7 @@ QString NetUtil::ip4ToText(quint32 ip)
|
||||
wchar_t buf[MAX_IPV4_LEN];
|
||||
|
||||
if (!InetNtopW(AF_INET, (PVOID) p, buf, MAX_IPV4_LEN))
|
||||
return false;
|
||||
return QString();
|
||||
|
||||
return QString::fromWCharArray(buf);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user