mirror of
https://github.com/curl/curl.git
synced 2026-07-22 23:47:17 +03:00
Prevent gcc warning.
This commit is contained in:
parent
c765213aaa
commit
13d40e33a4
1 changed files with 5 additions and 1 deletions
|
|
@ -465,8 +465,12 @@ void ares__send_query(ares_channel channel, struct query *query, time_t now)
|
|||
|
||||
static int open_tcp_socket(ares_channel channel, struct server_state *server)
|
||||
{
|
||||
ares_socket_t s;
|
||||
#if defined(WIN32)
|
||||
u_long flags;
|
||||
#else
|
||||
int flags;
|
||||
#endif
|
||||
ares_socket_t s;
|
||||
struct sockaddr_in sockin;
|
||||
|
||||
/* Acquire a socket. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue