Browse Source

forward-port the fix for the compiler warning

svn:r3273
Roger Dingledine 19 years ago
parent
commit
82c5381ecb
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/or/directory.c
  2. 1 1
      src/or/or.h

+ 1 - 1
src/or/directory.c

@@ -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
src/or/or.h

@@ -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 ***************************/