[or-cvs] whoops, we can"t call a function in 009x that only exists

Roger Dingledine arma at seul.org
Sun Mar 27 07:17:25 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
	connection.c 
Log Message:
whoops, we can't call a function in 009x that only exists
in cvs. use a less useful version instead.


Index: connection.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/connection.c,v
retrieving revision 1.310.2.12
retrieving revision 1.310.2.13
diff -u -d -r1.310.2.12 -r1.310.2.13
--- connection.c	27 Mar 2005 04:31:04 -0000	1.310.2.12
+++ connection.c	27 Mar 2005 07:17:23 -0000	1.310.2.13
@@ -1061,7 +1061,7 @@
       if (!ERRNO_IS_CONN_EINPROGRESS(e)) {
         log_fn(LOG_INFO,"in-progress connect failed. Removing.");
         if (CONN_IS_EDGE(conn))
-          connection_edge_end_errno(conn, conn->cpath_layer);
+          connection_edge_end(conn, END_STREAM_REASON_MISC, conn->cpath_layer);
 
         connection_close_immediate(conn);
         connection_mark_for_close(conn);



More information about the tor-commits mailing list