diff options
Diffstat (limited to 'src/or/circuit.c')
-rw-r--r-- | src/or/circuit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c index 60d6aadf4..8b7ffe523 100644 --- a/src/or/circuit.c +++ b/src/or/circuit.c @@ -537,8 +537,7 @@ void circuit_about_to_close_connection(connection_t *conn) { if(!conn->has_sent_end) { log_fn(LOG_INFO,"Edge connection hasn't sent end yet? Bug."); - connection_edge_send_command(conn, circ, RELAY_COMMAND_END, - NULL, 0, conn->cpath_layer); + connection_edge_end(conn, END_STREAM_REASON_MISC, conn->cpath_layer); } if(conn == circ->p_streams) { |