Browse Source

Cleanup whitespaces

Nick Mathewson 10 years ago
parent
commit
00bcc25d05
3 changed files with 4 additions and 3 deletions
  1. 2 2
      src/or/circuitstats.c
  2. 1 1
      src/or/circuitstats.h
  3. 1 0
      src/or/control.c

+ 2 - 2
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);
-
 }
+

+ 1 - 1
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 */

+ 1 - 0
src/or/control.c

@@ -4727,3 +4727,4 @@ control_testing_set_global_event_mask(uint64_t mask)
   global_event_mask = mask;
 }
 #endif
+