Revert "fix(usocket): Fix typo in return value function name"

This reverts commit 88c72acd77.

See discussion on #390
This commit is contained in:
Caleb Maclennan 2022-08-31 00:34:39 +03:00
parent 48164b572e
commit 26b524e1d7
No known key found for this signature in database
GPG Key ID: B538286DE04ECFE5

View File

@ -403,7 +403,7 @@ const char *socket_hoststrerror(int err) {
if (err <= 0) return io_strerror(err); if (err <= 0) return io_strerror(err);
switch (err) { switch (err) {
case HOST_NOT_FOUND: return PIE_HOST_NOT_FOUND; case HOST_NOT_FOUND: return PIE_HOST_NOT_FOUND;
default: return strerror(err); default: return hstrerror(err);
} }
} }