]> arthur.barton.de Git - ngircd.git/commit
Fix Get_error usage
authorBernd Kuhls <bernd.kuhls@t-online.de>
Wed, 13 Sep 2017 12:07:11 +0000 (14:07 +0200)
committerBernd Kuhls <bernd.kuhls@t-online.de>
Wed, 13 Sep 2017 12:07:11 +0000 (14:07 +0200)
commit543f44bff8d56785dc13a74a14d4eaa96465bf05
tree62181d594716ba3b728064aba83378ca542c093d
parentbc728f92de5aca1ae14c51696e35103b77a71657
Fix Get_error usage

The usage of Get_Error is guarded by "ifdef h_errno" in this file, the
definition of this function should follow the same rules.

Fixes a build error when cross-compiling:
https://github.com/ngircd/ngircd/issues/223
src/ngircd/resolve.c