warnings cleanup.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5085 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2007-05-04 02:09:24 +00:00
1 parent dd45f3d599
commit bf6a88e818
5 files changed
+4 -7

No files matched your search

+2 -1
View File
@@ -384,7 +384,8 @@ static void dnscb(struct dns_ctx *ctx, void *result, void *data)
cur = dns_payload(pkt);
dns_getdn(pkt, &cur, end, dn, sizeof(dn));
dns_initparse(&p, NULL, pkt, cur, end);
p.dnsp_qcls = p.dnsp_qtyp = 0;
p.dnsp_qcls = 0;
p.dnsp_qtyp = 0;
qdn = dn;
nrr = 0;
while ((r = dns_nextrr(&p, &rr)) > 0) {