diff options
author | Steinar H. Gunderson <sesse@google.com> | 2007-10-04 08:12:12 +0000 |
---|---|---|
committer | Steinar H. Gunderson <sesse@google.com> | 2007-10-04 08:12:12 +0000 |
commit | 91b38857ef9ab1f345f0c8914ef3feec803f8752 (patch) | |
tree | 0d7d97f475da52a11c6402c89ccb09941f4834f7 /ares | |
parent | 6d5f89976106ac2636ecf6c470106f15c747971f (diff) |
Removed a piece of redundant code (process_answer already takes care of it).
Diffstat (limited to 'ares')
-rw-r--r-- | ares/ares_process.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ares/ares_process.c b/ares/ares_process.c index 9a05f9785..c03ea4a89 100644 --- a/ares/ares_process.c +++ b/ares/ares_process.c @@ -530,12 +530,6 @@ static void process_answer(ares_channel channel, unsigned char *abuf, next_server(channel, query, now); return; } - if (!same_questions(query->qbuf, query->qlen, abuf, alen)) - { - if (query->server == whichserver) - next_server(channel, query, now); - return; - } } end_query(channel, query, ARES_SUCCESS, abuf, alen); |