ngircd

Free, portable and lightweight Internet Relay Chat server http://ngircd.barton.de/
Log | Files | Refs | README | LICENSE

commit ddeb7b20ebd660683c6a8638c552e27bde828a9d
parent bc728f92de5aca1ae14c51696e35103b77a71657
Author: Alexander Barton <alex@barton.de>
Date:   Sun, 17 Sep 2017 23:27:48 +0200

Merge pull request #240 from bkuhls/fix_Get_Error

Fix Get_Error usage
Diffstat:
Msrc/ngircd/resolve.c | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/ngircd/resolve.c b/src/ngircd/resolve.c @@ -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 */