Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
I forgot to initialize this
Browse files Browse the repository at this point in the history
  • Loading branch information
yeah-its-gloria committed Dec 25, 2018
1 parent 60f7ed6 commit 8a3af4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/network.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ s32 postRequest(const void* hostname, const void* path, const u16 port, void* bu
}

bool initNetwork() {
bool ok;
bool ok = false;
for (int i = 0; i < 50 && !ok; i++) if (net_init() >= 0) ok = true;
return ok;
}

0 comments on commit 8a3af4a

Please sign in to comment.