1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-01-19 12:02:52 +00:00

Merge pull request #240 from bkuhls/fix_Get_Error

Fix Get_Error usage
This commit is contained in:
Alexander Barton 2017-09-17 23:27:48 +02:00 committed by GitHub
commit ddeb7b20eb

View File

@ -108,9 +108,7 @@ Resolve_Name( PROC_STAT *s, const char *Host, void (*cbfunc)(int, short))
return false;
} /* Resolve_Name */
#if !defined(HAVE_GETADDRINFO) || !defined(HAVE_GETNAMEINFO)
#if !defined(WANT_IPV6) && defined(h_errno)
#ifdef h_errno
static char *
Get_Error( int H_Error )
{
@ -128,7 +126,6 @@ Get_Error( int H_Error )
return "unknown error";
}
#endif
#endif
/* Do "IDENT" (aka "AUTH") lookup and append result to resolved_addr array */