mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-26 07:31:33 +01:00
wrap a multi-line if body in { } before somebody gets hurt
This commit is contained in:
parent
64af15d373
commit
144fc9bef1
1 changed files with 2 additions and 1 deletions
|
@ -2005,9 +2005,10 @@ connection_edge_package_raw_inbuf(edge_connection_t *conn, int package_partial,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (connection_edge_send_command(conn, RELAY_COMMAND_DATA,
|
if (connection_edge_send_command(conn, RELAY_COMMAND_DATA,
|
||||||
payload, length) < 0 )
|
payload, length) < 0 ) {
|
||||||
/* circuit got marked for close, don't continue, don't need to mark conn */
|
/* circuit got marked for close, don't continue, don't need to mark conn */
|
||||||
return 0;
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (!cpath_layer) { /* non-rendezvous exit */
|
if (!cpath_layer) { /* non-rendezvous exit */
|
||||||
tor_assert(circ->package_window > 0);
|
tor_assert(circ->package_window > 0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue