summaryrefslogtreecommitdiff
path: root/ares_process.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-05-02 02:36:47 +0000
committerYang Tse <yangsita@gmail.com>2009-05-02 02:36:47 +0000
commit3a55bbebf11207721db8a77cff88c82298ee41ff (patch)
treeae0a1083a0e78216cc833d912fcd168b2572e779 /ares_process.c
parentd9647bd70fd14adf15fd1ff0be0edd5ebcaf0c41 (diff)
downloadc-ares-3a55bbebf11207721db8a77cff88c82298ee41ff.tar.gz
c-ares-3a55bbebf11207721db8a77cff88c82298ee41ff.tar.bz2
c-ares-3a55bbebf11207721db8a77cff88c82298ee41ff.zip
Use build-time configured ares_socklen_t instead of socklen_t
Diffstat (limited to 'ares_process.c')
-rw-r--r--ares_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_process.c b/ares_process.c
index e2d902f..c484810 100644
--- a/ares_process.c
+++ b/ares_process.c
@@ -429,7 +429,7 @@ static void read_udp_packets(ares_channel channel, fd_set *read_fds,
unsigned char buf[PACKETSZ + 1];
#ifdef HAVE_RECVFROM
struct sockaddr_in from;
- socklen_t fromlen;
+ ares_socklen_t fromlen;
#endif
if(!read_fds && (read_fd == ARES_SOCKET_BAD))