aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2016-03-21 17:11:18 -0400
committerRoger Dingledine <arma@torproject.org>2016-03-21 17:11:18 -0400
commit580e549f75e43a1452f982949977f67691cc1a5a (patch)
treea3fd80cb100e18176cbf8f85203e4bc3c875ad12 /src/or
parent4861e245529d70da5ca146eb2da1f22f7c68b5bb (diff)
downloadtor-580e549f75e43a1452f982949977f67691cc1a5a.tar.gz
tor-580e549f75e43a1452f982949977f67691cc1a5a.zip
remove extraneous breaks
commit edeba3d4 removed a switch, but left the "break" lines in from that switch. fortunately the resulting behavior was not wrong, since there was an outer switch that it was ok to break from.
Diffstat (limited to 'src/or')
-rw-r--r--src/or/directory.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 7130041b26..52cc6a9ec6 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -2305,7 +2305,6 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
* cleans this dir conn up. */
SEND_HS_DESC_FAILED_EVENT("BAD_DESC");
SEND_HS_DESC_FAILED_CONTENT();
- break;
} else {
char service_id[REND_SERVICE_ID_LEN_BASE32 + 1];
/* Should never be NULL here if we found the descriptor. */
@@ -2325,7 +2324,6 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
conn->base_.purpose = DIR_PURPOSE_HAS_FETCHED_RENDDESC_V2;
rend_client_desc_trynow(service_id);
memwipe(service_id, 0, sizeof(service_id));
- break;
}
break;
}