Loading src/or/directory.c +2 −3 Original line number Diff line number Diff line Loading @@ -57,7 +57,6 @@ static void dir_routerdesc_download_failed(smartlist_t *failed, int router_purpose, int was_extrainfo, int was_descriptor_digests); static void note_request(const char *key, size_t bytes); static void note_client_request(int purpose, int compressed, size_t bytes); static int client_likes_consensus(networkstatus_t *v, const char *want_url); Loading Loading @@ -2206,7 +2205,7 @@ note_client_request(int purpose, int compressed, size_t bytes) /** Called when we just transmitted or received <b>bytes</b> worth of data * because of a request of type <b>key</b> (an arbitrary identifier): adds * <b>bytes</b> to the total associated with key. */ static void void note_request(const char *key, size_t bytes) { uint64_t *n; Loading Loading @@ -2263,7 +2262,7 @@ note_client_request(int purpose, int compressed, size_t bytes) (void)bytes; } static void void note_request(const char *key, size_t bytes) { (void)key; Loading src/or/or.h +1 −0 Original line number Diff line number Diff line Loading @@ -3078,6 +3078,7 @@ int dir_split_resource_into_fingerprints(const char *resource, smartlist_t *fp_out, int *compresseed_out, int decode_hex, int sort_uniq); char *directory_dump_request_log(void); void note_request(const char *key, size_t bytes); int router_supports_extrainfo(const char *identity_digest, int is_authority); time_t download_status_increment_failure(download_status_t *dls, Loading Loading
src/or/directory.c +2 −3 Original line number Diff line number Diff line Loading @@ -57,7 +57,6 @@ static void dir_routerdesc_download_failed(smartlist_t *failed, int router_purpose, int was_extrainfo, int was_descriptor_digests); static void note_request(const char *key, size_t bytes); static void note_client_request(int purpose, int compressed, size_t bytes); static int client_likes_consensus(networkstatus_t *v, const char *want_url); Loading Loading @@ -2206,7 +2205,7 @@ note_client_request(int purpose, int compressed, size_t bytes) /** Called when we just transmitted or received <b>bytes</b> worth of data * because of a request of type <b>key</b> (an arbitrary identifier): adds * <b>bytes</b> to the total associated with key. */ static void void note_request(const char *key, size_t bytes) { uint64_t *n; Loading Loading @@ -2263,7 +2262,7 @@ note_client_request(int purpose, int compressed, size_t bytes) (void)bytes; } static void void note_request(const char *key, size_t bytes) { (void)key; Loading
src/or/or.h +1 −0 Original line number Diff line number Diff line Loading @@ -3078,6 +3078,7 @@ int dir_split_resource_into_fingerprints(const char *resource, smartlist_t *fp_out, int *compresseed_out, int decode_hex, int sort_uniq); char *directory_dump_request_log(void); void note_request(const char *key, size_t bytes); int router_supports_extrainfo(const char *identity_digest, int is_authority); time_t download_status_increment_failure(download_status_t *dls, Loading