[or-cvs] fix a compile warning in the stable branch

Roger Dingledine arma at seul.org
Tue Jan 4 01:11:10 UTC 2005


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

Modified Files:
      Tag: tor-0_0_9-patches
	directory.c or.h 
Log Message:
fix a compile warning in the stable branch


Index: directory.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.181.2.2
retrieving revision 1.181.2.3
diff -u -d -r1.181.2.2 -r1.181.2.3
--- directory.c	3 Jan 2005 21:24:06 -0000	1.181.2.2
+++ directory.c	4 Jan 2005 01:11:08 -0000	1.181.2.3
@@ -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.508.2.3
retrieving revision 1.508.2.4
diff -u -d -r1.508.2.3 -r1.508.2.4
--- or.h	3 Jan 2005 21:24:06 -0000	1.508.2.3
+++ or.h	4 Jan 2005 01:11:08 -0000	1.508.2.4
@@ -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