summaryrefslogtreecommitdiff
path: root/ares_process.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-07-14 13:08:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-07-14 13:08:50 +0000
commit403b315a3bc81b9a65c7f921c19e5221199db9e7 (patch)
tree2d2b9b19a62744bd39e2287fbe723960fcda6c7d /ares_process.c
parent1c91a98fcd70512a5979d913a8ec52a4b530fd69 (diff)
downloadc-ares-403b315a3bc81b9a65c7f921c19e5221199db9e7.tar.gz
c-ares-403b315a3bc81b9a65c7f921c19e5221199db9e7.tar.bz2
c-ares-403b315a3bc81b9a65c7f921c19e5221199db9e7.zip
Vlad Dinulescu fixed two outstanding valgrind reports
Diffstat (limited to 'ares_process.c')
-rw-r--r--ares_process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ares_process.c b/ares_process.c
index 745fe68..e8b9ef6 100644
--- a/ares_process.c
+++ b/ares_process.c
@@ -400,7 +400,8 @@ static void process_timeouts(ares_channel channel, time_t now)
static void process_answer(ares_channel channel, unsigned char *abuf,
int alen, int whichserver, int tcp, time_t now)
{
- int id, tc, rcode;
+ int tc, rcode;
+ unsigned short id;
struct query *query;
/* If there's no room in the answer for a header, we can't do much