mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
forward-port the fix for the compiler warning
svn:r3273
This commit is contained in:
+1
-1
@@ -223,7 +223,7 @@ directory_initiate_command_trusted_dir(trusted_dir_server_t *dirserv,
|
||||
/** Called when we are unable to complete our connection to a
|
||||
* directory server: Mark the router as down and try again if possible.
|
||||
*/
|
||||
int
|
||||
void
|
||||
connection_dir_connect_failed(connection_t *conn)
|
||||
{
|
||||
router_mark_as_down(conn->identity_digest); /* don't try him again */
|
||||
|
||||
+1
-1
@@ -1319,7 +1319,7 @@ int connection_dir_reached_eof(connection_t *conn);
|
||||
int connection_dir_process_inbuf(connection_t *conn);
|
||||
int connection_dir_finished_flushing(connection_t *conn);
|
||||
int connection_dir_finished_connecting(connection_t *conn);
|
||||
int connection_dir_connect_failed(connection_t *conn);
|
||||
void connection_dir_connect_failed(connection_t *conn);
|
||||
void parse_dir_policy(void);
|
||||
|
||||
/********************************* dirserv.c ***************************/
|
||||
|
||||
Reference in New Issue
Block a user