From: Yang Tse Date: Thu, 18 Sep 2008 10:12:16 +0000 (+0000) Subject: fix wrong number used in comparison X-Git-Tag: curl-7_19_1~330 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=acd637160f4427981c3e096ac9e91f66df551f42;p=curl fix wrong number used in comparison --- diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4 index e78758a07..26ed3960c 100644 --- a/m4/curl-functions.m4 +++ b/m4/curl-functions.m4 @@ -504,7 +504,7 @@ AC_DEFUN([CURL_CHECK_FUNC_GETHOSTBYADDR_R], [ AC_DEFINE(HAVE_GETHOSTBYADDR_R_5, 1, [gethostbyaddr_r() takes 5 args]) elif test "$tst_nargs_gethostbyaddr_r" -eq "7"; then AC_DEFINE(HAVE_GETHOSTBYADDR_R_7, 1, [gethostbyaddr_r() takes 7 args]) - elif test "$tst_nargs_gethostbyaddr_r" -eq "6"; then + elif test "$tst_nargs_gethostbyaddr_r" -eq "8"; then AC_DEFINE(HAVE_GETHOSTBYADDR_R_8, 1, [gethostbyaddr_r() takes 8 args]) fi #