diff options
author | Steinar H. Gunderson <sesse@google.com> | 2007-09-28 15:51:00 +0000 |
---|---|---|
committer | Steinar H. Gunderson <sesse@google.com> | 2007-09-28 15:51:00 +0000 |
commit | c24cd24870f59bcfec461472d100ee78cc41a423 (patch) | |
tree | 42914df1c8978544ec469a271f8fa78842d2e4d4 /ares_process.c | |
parent | 56ffdcefe1a7e2f60bf451a7d3a16cb903dcf9d9 (diff) | |
download | c-ares-c24cd24870f59bcfec461472d100ee78cc41a423.tar.gz c-ares-c24cd24870f59bcfec461472d100ee78cc41a423.tar.bz2 c-ares-c24cd24870f59bcfec461472d100ee78cc41a423.zip |
Forgot to include a few hunks from ares_process.c earlier. Fixing now.
Diffstat (limited to 'ares_process.c')
-rw-r--r-- | ares_process.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ares_process.c b/ares_process.c index 1db3d11..fdd620b 100644 --- a/ares_process.c +++ b/ares_process.c @@ -70,6 +70,7 @@ static void handle_error(ares_channel channel, int whichserver, time_t now); static void skip_server(ares_channel channel, struct query *query, int whichserver); static struct query *next_server(ares_channel channel, struct query *query, time_t now); +static int configure_socket(int s, ares_channel channel); static int open_tcp_socket(ares_channel channel, struct server_state *server); static int open_udp_socket(ares_channel channel, struct server_state *server); static int same_questions(const unsigned char *qbuf, int qlen, @@ -424,6 +425,7 @@ static void process_timeouts(ares_channel channel, time_t now) if (query->timeout != 0 && now >= query->timeout) { query->error_status = ARES_ETIMEOUT; + ++query->timeouts; next = next_server(channel, query, now); } } |