summaryrefslogtreecommitdiff
path: root/src/or/eventdns.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-06-30 10:13:51 -0400
committerNick Mathewson <nickm@torproject.org>2009-06-30 10:13:51 -0400
commit9f28cfe86af085e94b9b929041851dc8386231b2 (patch)
treed6eeb9feb098a1653e428bf39bac6340037bebd4 /src/or/eventdns.c
parentf466f3d12c7480fcff8b3366991f7a44816d2e41 (diff)
parent1ace3799facd9cae6f16f64647fec2281333539f (diff)
downloadtor-9f28cfe86af085e94b9b929041851dc8386231b2.tar.gz
tor-9f28cfe86af085e94b9b929041851dc8386231b2.zip
Merge commit 'origin/maint-0.2.1'
Diffstat (limited to 'src/or/eventdns.c')
-rw-r--r--src/or/eventdns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/eventdns.c b/src/or/eventdns.c
index 00e63b5212..9578b24cae 100644
--- a/src/or/eventdns.c
+++ b/src/or/eventdns.c
@@ -1792,7 +1792,7 @@ evdns_server_request_format_response(struct server_request *req, int err)
if (j > 512) {
overflow:
j = 512;
- buf[3] |= 0x02; /* set the truncated bit. */
+ buf[2] |= 0x02; /* set the truncated bit. */
}
req->response_len = (size_t)j;