Skip to content

Commit

Permalink
wrap a multi-line if body in { } before somebody gets hurt
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger Dingledine committed Jul 19, 2018
1 parent 64af15d commit 144fc9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/or/relay.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
payload, length) < 0 )
payload, length) < 0 ) {
/* circuit got marked for close, don't continue, don't need to mark conn */
return 0;
}

if (!cpath_layer) { /* non-rendezvous exit */
tor_assert(circ->package_window > 0);
Expand Down

0 comments on commit 144fc9b

Please sign in to comment.