Prevent gcc warning.

pull/1/head
Gisle Vanem 20 years ago
parent e1e80ecdd6
commit 1223fb7eac
  1. 6
      ares_process.c

@ -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…
Cancel
Save