aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2015-08-20 20:28:47 +0200
committerNick Mathewson <nickm@torproject.org>2015-08-21 10:36:53 -0400
commit5cf24ff3af046391dcaf1df636e3bd5d7d17573d (patch)
treea54bcf47ef71710a223ec795d1b1e6002433affc /src/or
parent38601f06b756161b7bfa1414e7a1968450609198 (diff)
downloadtor-5cf24ff3af046391dcaf1df636e3bd5d7d17573d.tar.gz
tor-5cf24ff3af046391dcaf1df636e3bd5d7d17573d.zip
Fix a bunch of check-spaces complaints
Diffstat (limited to 'src/or')
-rw-r--r--src/or/control.c1
-rw-r--r--src/or/rendcache.c2
-rw-r--r--src/or/rendclient.c9
3 files changed, 7 insertions, 5 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 3638bd2e05..44b19d70a3 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -6478,3 +6478,4 @@ control_testing_set_global_event_mask(uint64_t mask)
global_event_mask = mask;
}
#endif
+
diff --git a/src/or/rendcache.c b/src/or/rendcache.c
index 9a33046fb6..fe9a1344f6 100644
--- a/src/or/rendcache.c
+++ b/src/or/rendcache.c
@@ -330,7 +330,7 @@ cache_failure_intro_lookup(const uint8_t *identity, const char *service_id,
*intro_entry = intro_elem;
}
return 1;
-not_found:
+ not_found:
return 0;
}
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index c6f29a7707..a39e518e99 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -1021,7 +1021,7 @@ rend_client_report_intro_point_failure(extend_info_t *failed_intro,
/* fall through */
case INTRO_POINT_FAILURE_GENERIC:
rend_cache_intro_failure_note(failure_type,
- (uint8_t *) failed_intro->identity_digest,
+ (uint8_t *)failed_intro->identity_digest,
rend_query->onion_address);
rend_intro_point_free(intro);
smartlist_del(ent->parsed->intro_nodes, i);
@@ -1038,9 +1038,10 @@ rend_client_report_intro_point_failure(extend_info_t *failed_intro,
intro->unreachable_count,
zap_intro_point ? " Removing from descriptor.": "");
if (zap_intro_point) {
- rend_cache_intro_failure_note(failure_type,
- (uint8_t *) failed_intro->identity_digest,
- rend_query->onion_address);
+ rend_cache_intro_failure_note(
+ failure_type,
+ (uint8_t *) failed_intro->identity_digest,
+ rend_query->onion_address);
rend_intro_point_free(intro);
smartlist_del(ent->parsed->intro_nodes, i);
}