diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-03-13 08:02:25 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-03-13 08:02:25 -0400 |
commit | 8587f663ee5f8f4af4fbbd5542116eb22ed1814e (patch) | |
tree | aba0556279a87564ef55c22ce55dbcb32983adfb /src/or | |
parent | 118d7018d07ebc6324e8b7220002465479b0cbf3 (diff) | |
download | tor-8587f663ee5f8f4af4fbbd5542116eb22ed1814e.tar.gz tor-8587f663ee5f8f4af4fbbd5542116eb22ed1814e.zip |
Remove DIR_SPOOL_CACHED_DIR: Nothing uses it.
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/dirserv.c | 2 | ||||
-rw-r--r-- | src/or/or.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index f01668adcb..74617ffc26 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -3754,8 +3754,6 @@ connection_dirserv_flushed_some(dir_connection_t *conn) return connection_dirserv_add_servers_to_outbuf(conn); case DIR_SPOOL_MICRODESC: return connection_dirserv_add_microdescs_to_outbuf(conn); - case DIR_SPOOL_CACHED_DIR: - return connection_dirserv_add_dir_bytes_to_outbuf(conn); case DIR_SPOOL_NETWORKSTATUS: return connection_dirserv_add_networkstatus_bytes_to_outbuf(conn); case DIR_SPOOL_NONE: diff --git a/src/or/or.h b/src/or/or.h index 0e2dc2401b..dee8b85674 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1735,7 +1735,7 @@ typedef struct entry_connection_t { typedef enum { DIR_SPOOL_NONE=0, DIR_SPOOL_SERVER_BY_DIGEST, DIR_SPOOL_SERVER_BY_FP, DIR_SPOOL_EXTRA_BY_DIGEST, DIR_SPOOL_EXTRA_BY_FP, - DIR_SPOOL_CACHED_DIR, DIR_SPOOL_NETWORKSTATUS, + DIR_SPOOL_NETWORKSTATUS, DIR_SPOOL_MICRODESC, /* NOTE: if we add another entry, add another bit. */ } dir_spool_source_t; #define dir_spool_source_bitfield_t ENUM_BF(dir_spool_source_t) |