[or-cvs] forward-port the fix for the compiler warning

Roger Dingledine arma at seul.org
Tue Jan 4 01:16:33 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or

Modified Files:
	directory.c or.h 
Log Message:
forward-port the fix for the compiler warning


Index: directory.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.186
retrieving revision 1.187
diff -u -d -r1.186 -r1.187
--- directory.c	3 Jan 2005 21:14:09 -0000	1.186
+++ directory.c	4 Jan 2005 01:16:20 -0000	1.187
@@ -223,7 +223,7 @@
 /** 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 */

Index: or.h
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/or.h,v
retrieving revision 1.514
retrieving revision 1.515
diff -u -d -r1.514 -r1.515
--- or.h	3 Jan 2005 20:51:24 -0000	1.514
+++ or.h	4 Jan 2005 01:16:20 -0000	1.515
@@ -1319,7 +1319,7 @@
 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 ***************************/



More information about the tor-commits mailing list