mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
r12750@catbus: nickm | 2007-05-13 10:08:13 -0400
Fix compilation in connection_edge.c svn:r10186
This commit is contained in:
parent
440b7f0c70
commit
5f9d4d0587
@ -2416,7 +2416,7 @@ connection_exit_connect_dir(edge_connection_t *exitconn)
|
|||||||
dirconn->_base.purpose = DIR_PURPOSE_SERVER;
|
dirconn->_base.purpose = DIR_PURPOSE_SERVER;
|
||||||
dirconn->_base.state = DIR_CONN_STATE_SERVER_COMMAND_WAIT;
|
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) {
|
if (connection_add(TO_CONN(exitconn))<0) {
|
||||||
connection_edge_end(exitconn, END_STREAM_REASON_RESOURCELIMIT);
|
connection_edge_end(exitconn, END_STREAM_REASON_RESOURCELIMIT);
|
||||||
|
Loading…
Reference in New Issue
Block a user