From: Steinar H. Gunderson Date: Thu, 4 Oct 2007 08:12:12 +0000 (+0000) Subject: Removed a piece of redundant code (process_answer already takes care of it). X-Git-Tag: curl-7_17_1~111 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91b38857ef9ab1f345f0c8914ef3feec803f8752;p=curl Removed a piece of redundant code (process_answer already takes care of it). --- 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);