aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-08-25 12:22:20 -0400
committerNick Mathewson <nickm@torproject.org>2013-08-25 12:22:20 -0400
commit00bcc25d05dc0273323a2cae20c6aa62afd4b50a (patch)
tree9337d1332caf3ecb1bfec21504333836f182ef3a
parent34179395657c478527bff8cdb94d9d142013494a (diff)
downloadtor-00bcc25d05dc0273323a2cae20c6aa62afd4b50a.tar
tor-00bcc25d05dc0273323a2cae20c6aa62afd4b50a.tar.gz
Cleanup whitespaces
-rw-r--r--src/or/circuitstats.c4
-rw-r--r--src/or/circuitstats.h2
-rw-r--r--src/or/control.c1
3 files changed, 4 insertions, 3 deletions
diff --git a/src/or/circuitstats.c b/src/or/circuitstats.c
index 8fdef5885..eaefc9edd 100644
--- a/src/or/circuitstats.c
+++ b/src/or/circuitstats.c
@@ -1614,7 +1614,7 @@ cbt_control_event_buildtimeout_set(const circuit_build_times_t *cbt,
char *args = NULL;
double qnt;
- switch(type) {
+ switch (type) {
case BUILDTIMEOUT_SET_EVENT_RESET:
case BUILDTIMEOUT_SET_EVENT_SUSPENDED:
case BUILDTIMEOUT_SET_EVENT_DISCARD:
@@ -1640,5 +1640,5 @@ cbt_control_event_buildtimeout_set(const circuit_build_times_t *cbt,
control_event_buildtimeout_set(type, args);
tor_free(args);
-
}
+
diff --git a/src/or/circuitstats.h b/src/or/circuitstats.h
index 38a7e4efa..3343310b8 100644
--- a/src/or/circuitstats.h
+++ b/src/or/circuitstats.h
@@ -69,7 +69,7 @@ void circuit_build_times_network_circ_success(circuit_build_times_t *cbt);
#ifdef CIRCUITSTATS_PRIVATE
/** Structure for circuit build times history */
-struct circuit_build_times_s{
+struct circuit_build_times_s {
/** The circular array of recorded build times in milliseconds */
build_time_t circuit_build_times[CBT_NCIRCUITS_TO_OBSERVE];
/** Current index in the circuit_build_times circular array */
diff --git a/src/or/control.c b/src/or/control.c
index 9eaaef5a5..7034605c2 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -4727,3 +4727,4 @@ control_testing_set_global_event_mask(uint64_t mask)
global_event_mask = mask;
}
#endif
+