mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-26 04:28:20 +01:00
Revert "fix(usocket): Fix typo in return value function name"
This reverts commit 88c72acd77
.
See discussion on #390
This commit is contained in:
parent
48164b572e
commit
26b524e1d7
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user