X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git;a=blobdiff_plain;f=src%2Freply.c;h=62384ab9571d70c3b7d25e850e3ae5836a974ad9;hp=64b41d72ce82688d88c2c923791f3b3da70d77a2;hb=7f5937118639156f1fb201c42298c00e1f54c3cc;hpb=ae8cc9775a6eb23901a89a2604f73525b0553db8 diff --git a/src/reply.c b/src/reply.c index 64b41d7..62384ab 100644 --- a/src/reply.c +++ b/src/reply.c @@ -34,7 +34,7 @@ void adns__procdgram(adns_state ads, const byte *dgram, int dglen, int id, f1, f2, qdcount, ancount, nscount, arcount; int flg_ra, flg_rd, flg_tc, flg_qr, opcode; int rrtype, rrclass, rdlength, rdstart; - int anstart, nsstart, arstart; + int anstart, nsstart; int ownermatched, l, nrrs; unsigned long ttl, soattl; const typeinfo *typei; @@ -157,7 +157,6 @@ void adns__procdgram(adns_state ads, const byte *dgram, int dglen, * query now. */ anstart= qu->query_dglen; - arstart= -1; /* Now, take a look at the answer section, and see if it is complete. * If it has any CNAMEs we stuff them in the answer.