|
@@ -324,6 +324,8 @@ connection_dir_request_failed(dir_connection_t *conn)
|
|
|
0 );
|
|
|
|
|
|
if (directory_conn_is_self_reachability_test(conn)) {
|
|
|
+
|
|
|
+ * code will never be reached. -RD */
|
|
|
routerinfo_t *me = router_get_my_routerinfo();
|
|
|
if (me)
|
|
|
control_event_server_status(LOG_WARN,
|
|
@@ -385,7 +387,7 @@ static void
|
|
|
connection_dir_download_routerdesc_failed(dir_connection_t *conn)
|
|
|
{
|
|
|
|
|
|
- * it's not their fault.*/
|
|
|
+ * it's not their fault. */
|
|
|
|
|
|
(void) conn;
|
|
|
|
|
@@ -1828,7 +1830,7 @@ directory_handle_command_get(dir_connection_t *conn, char *headers,
|
|
|
if (!strcmp(url,"/tor/dir-all-weaselhack") &&
|
|
|
(conn->_base.addr == 0x7f000001ul) &&
|
|
|
authdir_mode(options)) {
|
|
|
-
|
|
|
+
|
|
|
char *new_directory=NULL;
|
|
|
|
|
|
if (dirserv_dump_directory_to_string(&new_directory,
|
|
@@ -2094,6 +2096,7 @@ dir_routerdesc_download_failed(smartlist_t *failed, int status_code)
|
|
|
cp, (int)rs->n_download_failures);
|
|
|
});
|
|
|
|
|
|
+
|
|
|
|
|
|
}
|
|
|
|