-/* Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996,1997,1998,1999,2000,2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Thorsten Kukuk <kukuk@suse.de>, 1996.
*h_errnop = TRY_AGAIN;
break;
case NSS_STATUS_NOTFOUND:
- *errnop = ENOENT;
*h_errnop = HOST_NOT_FOUND;
break;
default:
else
{
*h_errnop = HOST_NOT_FOUND;
- *errnop = ENOENT;
return NSS_STATUS_NOTFOUND;
}
}
*errnop = errno;
}
if (retval == NSS_STATUS_NOTFOUND)
- {
- *h_errnop = HOST_NOT_FOUND;
- *errnop = ENOENT;
- }
+ *h_errnop = HOST_NOT_FOUND;
+
return retval;
}