This should fix the following compiler warning:
resolve.c:113:1: warning: ‘Get_Error’ defined but not used
[-Wunused-function]
Which can happen, because the logic of commit
543f44bf isn't sufficient:
Get_Error() is only used when neither HAVE_WORKING_GETADDRINFO nor
HAVE_GETNAMEINFO are set ...
Enhances
543f44bf.
Closes #241.
return false;
} /* Resolve_Name */
+#if !defined(HAVE_WORKING_GETADDRINFO) || !defined(HAVE_GETNAMEINFO)
#ifdef h_errno
static char *
Get_Error( int H_Error )
return "unknown error";
}
#endif
+#endif
/* Do "IDENT" (aka "AUTH") lookup and append result to resolved_addr array */