mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-26 20:38:22 +01:00
Fix cut-paste typo on PIE_HOST_NOT_FOUND.
This commit is contained in:
parent
892ea1791a
commit
863a54cbaf
@ -395,7 +395,7 @@ int socket_gethostbyname(const char *addr, struct hostent **hp) {
|
|||||||
const char *socket_hoststrerror(int err) {
|
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_HOSTNOTFOUND;
|
case HOST_NOT_FOUND: return PIE_HOST_NOT_FOUND;
|
||||||
default: return hstrerror(err);
|
default: return hstrerror(err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user