wrap a multi-line if body in { } before somebody gets hurt

This commit is contained in:
Roger Dingledine 2018-07-18 21:23:35 -04:00
parent 64af15d373
commit 144fc9bef1

View File

@ -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);