From: Roger Dingledine Date: Tue, 4 Jan 2005 01:16:20 +0000 (+0000) Subject: forward-port the fix for the compiler warning X-Git-Tag: debian-version-0.0.9.2-1~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82c5381ecb2237326a4e6ccae37413754368387e;p=thirdparty%2Ftor.git forward-port the fix for the compiler warning svn:r3273 --- diff --git a/src/or/directory.c b/src/or/directory.c index 48cdf6c8cb..66b09eb0d8 100644 --- a/src/or/directory.c +++ b/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 */ diff --git a/src/or/or.h b/src/or/or.h index 3d7c47fbeb..4f2f6b2f4d 100644 --- a/src/or/or.h +++ b/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 ***************************/