summaryrefslogtreecommitdiff
path: root/src/or/eventdns.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-28 01:55:34 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-28 01:55:34 -0400
commit42b15a0aaa6e00c2ce0ce030abdb87e787f27fe4 (patch)
tree2461a1a5f1660e0e4f3bc1aed52d3fc80c968f1b /src/or/eventdns.c
parent6f200b61b7effe811809fe60459b0b5b58cb3dbb (diff)
parenta5232e0c4c572cdff85701f698b8b90c9443d7e4 (diff)
downloadtor-42b15a0aaa6e00c2ce0ce030abdb87e787f27fe4.tar.gz
tor-42b15a0aaa6e00c2ce0ce030abdb87e787f27fe4.zip
Merge remote-tracking branch 'origin/maint-0.2.2'
Diffstat (limited to 'src/or/eventdns.c')
-rw-r--r--src/or/eventdns.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/eventdns.c b/src/or/eventdns.c
index fb05e48d33..725b59a19e 100644
--- a/src/or/eventdns.c
+++ b/src/or/eventdns.c
@@ -1028,6 +1028,9 @@ request_parse(u8 *packet, ssize_t length, struct evdns_server_port *port, struct
GET16(answers);
GET16(authority);
GET16(additional);
+ (void)additional;
+ (void)authority;
+ (void)answers;
if (flags & 0x8000) return -1; /* Must not be an answer. */
flags &= 0x0110; /* Only RD and CD get preserved. */