Fix Get_Error() usage, take II
authorAlexander Barton <alex@barton.de>
Mon, 29 Jan 2018 22:30:53 +0000 (23:30 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 29 Jan 2018 22:30:53 +0000 (23:30 +0100)
commit7207bef418c655107d3076b20dd797418ad82cd7
tree64afd5453ace792bd0563d5cc3c9cd40ef88ce5f
parent619a3f3ff28e49d0f827924d1dbe84c6c3a284c0
Fix Get_Error() usage, take II

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.
src/ngircd/resolve.c