diff options
author | Yang Tse <yangsita@gmail.com> | 2005-12-16 23:15:33 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2005-12-16 23:15:33 +0000 |
commit | 48ccbcfa4bdf93835a8ed40903d438fe3b5f84bd (patch) | |
tree | 5af443a4bd9ce315604c016346664a38e79a4865 | |
parent | 9950522a46cb6bf8dc962ca7641fe92d44527cc5 (diff) | |
download | c-ares-48ccbcfa4bdf93835a8ed40903d438fe3b5f84bd.tar.gz c-ares-48ccbcfa4bdf93835a8ed40903d438fe3b5f84bd.tar.bz2 c-ares-48ccbcfa4bdf93835a8ed40903d438fe3b5f84bd.zip |
Since there is no proof of the existence of a platform which would
justify checking for socklen_t in more than one function, the code
used to find a valid socklen_t replacement is simplified back. The
only function that will be used to find a socklen_t replacement is
getpeername, as it has been since revision 1.4 of curl/acinclude.m4
-rw-r--r-- | acinclude.m4 | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 6d1835e..8206a88 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -152,15 +152,9 @@ AC_DEFUN([CURL_CHECK_TYPE_SOCKLEN_T], [ #endif #endif int getpeername (int, $arg2 *, $t *); - int getsockname (int, $arg2 *, $t *); - int bind (int, $arg2 *, $t); - int accept (int, $arg2 *, $t *); ],[ $t len=0; getpeername(0,0,&len); - getsockname(0,0,&len); - bind(0,0,len); - accept(0,0,&len); ]) ],[ curl_cv_socklen_t_equiv="$t" |