summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2015-06-01 12:59:14 +0000
committerAndrea Shepard <andrea@torproject.org>2015-06-01 12:59:14 +0000
commit0e0b65db4f0f0c67bcbb3f51a9e6061bc4c96c5e (patch)
treec10b78ee986ba214d4fdc4061875919eaa33d4fc /src/or/routerparse.c
parent90e07ab338cd59caeaeb31a3d207bb34d433b8ab (diff)
downloadtor-0e0b65db4f0f0c67bcbb3f51a9e6061bc4c96c5e.tar.gz
tor-0e0b65db4f0f0c67bcbb3f51a9e6061bc4c96c5e.zip
Appease make check-spaces
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 1835bf8194..1413d40703 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -2352,7 +2352,8 @@ routerstatus_parse_entry_from_string(memarea_t *area,
if (!strcmp(t->args[0], "ed25519")) {
vote_rs->has_ed25519_listing = 1;
if (strcmp(t->args[1], "none") &&
- digest256_from_base64((char*)vote_rs->ed25519_id, t->args[1])<0) {
+ digest256_from_base64((char*)vote_rs->ed25519_id,
+ t->args[1])<0) {
log_warn(LD_DIR, "Bogus ed25519 key in networkstatus vote");
goto err;
}
@@ -3184,7 +3185,8 @@ networkstatus_parse_vote_from_string(const char *s, const char **eos_out,
}
if (ns_type != NS_TYPE_CONSENSUS) {
digest256map_t *ed_id_map = digest256map_new();
- SMARTLIST_FOREACH_BEGIN(ns->routerstatus_list, vote_routerstatus_t *, vrs) {
+ SMARTLIST_FOREACH_BEGIN(ns->routerstatus_list, vote_routerstatus_t *,
+ vrs) {
if (! vrs->has_ed25519_listing ||
tor_mem_is_zero((const char *)vrs->ed25519_id, DIGEST256_LEN))
continue;