summaryrefslogtreecommitdiff
path: root/src/or/directory.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2016-04-13 03:13:12 -0400
committerRoger Dingledine <arma@torproject.org>2016-05-09 14:41:54 -0400
commitbcae392e0edc682990da71524a0802cf79e3e698 (patch)
tree235ff52b62f44c4e232fd88909efd7cbcb4a9630 /src/or/directory.h
parente230e80ab3021caf8153d2ba09bab5cb185366dc (diff)
downloadtor-bcae392e0edc682990da71524a0802cf79e3e698.tar.gz
tor-bcae392e0edc682990da71524a0802cf79e3e698.zip
avoid another redundant check
we should avoid launching a consensus fetch if we don't want one, but if we do end up with an extra one, we should let the other checks take care of it.
Diffstat (limited to 'src/or/directory.h')
-rw-r--r--src/or/directory.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/directory.h b/src/or/directory.h
index 3254e073d2..7646cac03f 100644
--- a/src/or/directory.h
+++ b/src/or/directory.h
@@ -78,7 +78,6 @@ void directory_initiate_command(const tor_addr_t *or_addr, uint16_t or_port,
const char *resource,
const char *payload, size_t payload_len,
time_t if_modified_since);
-int connection_dir_avoid_extra_connection_for_purpose(unsigned int purpose);
#define DSR_HEX (1<<0)
#define DSR_BASE64 (1<<1)