diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-10-25 19:25:53 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2017-10-25 20:22:52 +0300 |
commit | 8c8d3b90f767076508944f4eb355180e14b6189e (patch) | |
tree | 9c031adf7333fc73bd2ffcf002a42965e646bf9e /src/or/directory.c | |
parent | c7a1a987d6dfcb65a5fd639cc3d37b76809c37d5 (diff) | |
download | tor-8c8d3b90f767076508944f4eb355180e14b6189e.tar.gz tor-8c8d3b90f767076508944f4eb355180e14b6189e.zip |
Add a unittest that reveals the offending case of #23862.
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 6470723cd8..272b324dbe 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -2237,8 +2237,6 @@ load_downloaded_routers(const char *body, smartlist_t *which, return added; } -static int handle_response_fetch_consensus(dir_connection_t *, - const response_handler_args_t *); static int handle_response_fetch_certificate(dir_connection_t *, const response_handler_args_t *); static int handle_response_fetch_status_vote(dir_connection_t *, @@ -2585,7 +2583,7 @@ connection_dir_client_reached_eof(dir_connection_t *conn) * consensus document by checking the consensus, storing it, and marking * router requests as reachable. **/ -static int +STATIC int handle_response_fetch_consensus(dir_connection_t *conn, const response_handler_args_t *args) { |