]> granicus.if.org Git - curl/commitdiff
fix wrong number used in comparison
authorYang Tse <yangsita@gmail.com>
Thu, 18 Sep 2008 10:12:16 +0000 (10:12 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 18 Sep 2008 10:12:16 +0000 (10:12 +0000)
m4/curl-functions.m4

index e78758a07f07cca5b60d29432b602bcdfcc044af..26ed3960cd8717be07e6e5ed096bd903786c718b 100644 (file)
@@ -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
     #