summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-05-17 20:08:03 -0400
committerNick Mathewson <nickm@torproject.org>2016-05-17 20:08:03 -0400
commit2729f166cb715f0f4aff8779f0fadebafc56a70c (patch)
tree102a1e44c22b2aa09a99a5e585e68797481f5fe8 /src/or/routerparse.c
parentab932cd7bfb7e4cfe9c33416ca45e56448c57b58 (diff)
downloadtor-2729f166cb715f0f4aff8779f0fadebafc56a70c.tar.gz
tor-2729f166cb715f0f4aff8779f0fadebafc56a70c.zip
whitespace fixes
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index a7c29aa869..91025c1568 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -1405,7 +1405,8 @@ router_parse_entry_from_string(const char *s, const char *end,
log_warn(LD_DIR, "Couldn't parse ed25519 cert");
goto err;
}
- router->cache_info.signing_key_cert = cert; /* makes sure it gets freed.*/
+ /* makes sure it gets freed. */
+ router->cache_info.signing_key_cert = cert;
if (cert->cert_type != CERT_TYPE_ID_SIGNING ||
! cert->signing_key_included) {
@@ -1600,8 +1601,8 @@ router_parse_entry_from_string(const char *s, const char *end,
}
if (tok->n_args >= 2) {
- if (digest256_from_base64(router->cache_info.extra_info_digest256, tok->args[1])
- < 0) {
+ if (digest256_from_base64(router->cache_info.extra_info_digest256,
+ tok->args[1]) < 0) {
log_warn(LD_DIR, "Invalid extra info digest256 %s",
escaped(tok->args[1]));
}