Fix cut-paste typo on PIE_HOST_NOT_FOUND.

This commit is contained in:
Diego Nehab 2015-03-03 19:20:13 -03:00
parent 892ea1791a
commit 863a54cbaf

View File

@ -395,7 +395,7 @@ int socket_gethostbyname(const char *addr, struct hostent **hp) {
const char *socket_hoststrerror(int err) {
if (err <= 0) return io_strerror(err);
switch (err) {
case HOST_NOT_FOUND: return PIE_HOSTNOTFOUND;
case HOST_NOT_FOUND: return PIE_HOST_NOT_FOUND;
default: return hstrerror(err);
}
}