r12750@catbus: nickm | 2007-05-13 10:08:13 -0400

Fix compilation in connection_edge.c


svn:r10186
This commit is contained in:
Nick Mathewson 2007-05-13 20:24:43 +00:00
parent 440b7f0c70
commit 5f9d4d0587

View File

@ -2416,7 +2416,7 @@ connection_exit_connect_dir(edge_connection_t *exitconn)
dirconn->_base.purpose = DIR_PURPOSE_SERVER;
dirconn->_base.state = DIR_CONN_STATE_SERVER_COMMAND_WAIT;
connection_link_connections(TO_CONN(dir_conn), TO_CONN(exitconn));
connection_link_connections(TO_CONN(dirconn), TO_CONN(exitconn));
if (connection_add(TO_CONN(exitconn))<0) {
connection_edge_end(exitconn, END_STREAM_REASON_RESOURCELIMIT);