summaryrefslogtreecommitdiff
path: root/src/or/dnsserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-02-11 17:22:29 +0000
committerNick Mathewson <nickm@torproject.org>2009-02-11 17:22:29 +0000
commit8d9aadf57c5a41a4a1b918e30c294f41c9c39026 (patch)
treed0c03d9218b2109bb3150894cf7963c176314336 /src/or/dnsserv.c
parent356b40f58b9ba8fc59637f0dd02d830a4ceccde9 (diff)
downloadtor-8d9aadf57c5a41a4a1b918e30c294f41c9c39026.tar.gz
tor-8d9aadf57c5a41a4a1b918e30c294f41c9c39026.zip
Port some mostly cosmetic eventdns changes from libevent
svn:r18492
Diffstat (limited to 'src/or/dnsserv.c')
-rw-r--r--src/or/dnsserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dnsserv.c b/src/or/dnsserv.c
index 36d072110d..1f964780e9 100644
--- a/src/or/dnsserv.c
+++ b/src/or/dnsserv.c
@@ -69,7 +69,7 @@ evdns_server_callback(struct evdns_server_request *req, void *_data)
"handle one question at a time for now. Skipping the extras.");
}
for (i = 0; i < req->nquestions; ++i) {
- if (req->questions[i]->class != EVDNS_CLASS_INET)
+ if (req->questions[i]->dns_question_class != EVDNS_CLASS_INET)
continue;
switch (req->questions[i]->type) {
case EVDNS_TYPE_A: