diff options
Diffstat (limited to 'ares/ares_getsock.c')
-rw-r--r-- | ares/ares_getsock.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ares/ares_getsock.c b/ares/ares_getsock.c index 1c5e9ff26..52aaecd0b 100644 --- a/ares/ares_getsock.c +++ b/ares/ares_getsock.c @@ -1,6 +1,6 @@ /* $Id$ */ -/* Copyright (C) 2005 - 2007, Daniel Stenberg +/* Copyright (C) 2005 - 2010, Daniel Stenberg * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, provided @@ -23,7 +23,7 @@ #include "ares_private.h" int ares_getsock(ares_channel channel, - int *s, + ares_socket_t *socks, int numsocks) /* size of the 'socks' array */ { struct server_state *server; @@ -32,8 +32,6 @@ int ares_getsock(ares_channel channel, int bitmap = 0; unsigned int setbits = 0xffffffff; - ares_socket_t *socks = (ares_socket_t *)s; - /* Are there any active queries? */ int active_queries = !ares__is_list_empty(&(channel->all_queries)); |