mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 02:22:15 +02:00
Tabs -> Spaces
This commit is contained in:
parent
d3fd0339c9
commit
c83696cd41
@ -1583,11 +1583,11 @@ cleanup:
|
||||
|
||||
|
||||
long gethostid(void) {
|
||||
Result rc;
|
||||
u32 id;
|
||||
rc = nifmGetCurrentIpAddress(&id);
|
||||
if(R_SUCCEEDED(rc))
|
||||
return id;
|
||||
Result rc;
|
||||
u32 id;
|
||||
rc = nifmGetCurrentIpAddress(&id);
|
||||
if(R_SUCCEEDED(rc))
|
||||
return id;
|
||||
return INADDR_LOOPBACK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user