aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.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/directory.c
parent6f200b61b7effe811809fe60459b0b5b58cb3dbb (diff)
parenta5232e0c4c572cdff85701f698b8b90c9443d7e4 (diff)
downloadtor-42b15a0aaa6e00c2ce0ce030abdb87e787f27fe4.tar
tor-42b15a0aaa6e00c2ce0ce030abdb87e787f27fe4.tar.gz
Merge remote-tracking branch 'origin/maint-0.2.2'
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 9983a97a7..810612cd6 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -2005,7 +2005,6 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
router_get_trusteddirserver_by_digest(conn->identity_digest);
char *rejected_hdr = http_get_header(headers,
"X-Descriptor-Not-New: ");
- int rejected = 0;
if (rejected_hdr) {
if (!strcmp(rejected_hdr, "Yes")) {
log_info(LD_GENERAL,
@@ -2018,7 +2017,6 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
* last descriptor, not on the published time of the last
* descriptor. If those are different, that's a bad thing to
* do. -NM */
- rejected = 1;
}
tor_free(rejected_hdr);
}