aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-08-31 06:10:02 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-08-31 06:10:02 +0000
commit1cedcce3e93d7649c5c1db7ab69192b655f6d168 (patch)
tree42a08d31a7950d87ba63140da6529315da674198 /configure.in
parent61c434273654048462873c031eda027dd4acd549 (diff)
patched 7.2 configure to work!
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 4 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index 734534d5e..2d965b45b 100644
--- a/configure.in
+++ b/configure.in
@@ -298,13 +298,12 @@ char * address;
int length;
int type;
struct hostent h;
-char buffer[10];
-int buflen;
+char buffer[8192];
int h_errnop;
struct hostent * hp;
hp = gethostbyaddr_r(address, length, type, &h,
- buffer, buflen, &h_errnop);],[
+ buffer, 8192, &h_errnop);],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYADDR_R_7)
ac_cv_gethostbyaddr_args=7],[
@@ -317,14 +316,13 @@ char * address;
int length;
int type;
struct hostent h;
-char buffer[10];
-int buflen;
+char buffer[8192];
int h_errnop;
struct hostent * hp;
int rc;
rc = gethostbyaddr_r(address, length, type, &h,
- buffer, buflen, &hp, &h_errnop);],[
+ buffer, 8192, &hp, &h_errnop);],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYADDR_R_8)
ac_cv_gethostbyaddr_args=8],[