summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-09-06 23:14:13 -0400
committerMike Perry <mikeperry-git@fscked.org>2009-09-16 15:55:32 -0700
commit672e2f6908fda52897c9564b756de743692d1d55 (patch)
tree75d0db87f240c4c73d3a386607ec553e74baa535 /src/or/config.c
parent4b3bc714a3f5253470e1feab80bfd30744d34d44 (diff)
downloadtor-672e2f6908fda52897c9564b756de743692d1d55.tar.gz
tor-672e2f6908fda52897c9564b756de743692d1d55.zip
space/indent cleanups, plus point out three bugs
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 1505dc3e4e..cd222595b5 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -409,9 +409,9 @@ static config_var_t _state_vars[] = {
V(LastRotatedOnionKey, ISOTIME, NULL),
V(LastWritten, ISOTIME, NULL),
- VAR("TotalBuildTimes", UINT, TotalBuildTimes, NULL),
- VAR("CircuitBuildTimeBin", LINELIST_S, BuildtimeHistogram, NULL),
- VAR("BuildtimeHistogram", LINELIST_V, BuildtimeHistogram, NULL),
+ V("TotalBuildTimes", UINT, NULL),
+ VAR("CircuitBuildTimeBin", LINELIST_S, BuildtimeHistogram, NULL),
+ VAR("BuildtimeHistogram", LINELIST_V, BuildtimeHistogram, NULL),
{ NULL, CONFIG_TYPE_OBSOLETE, 0, NULL }
};
@@ -5068,13 +5068,10 @@ or_state_set(or_state_t *new_state)
log_warn(LD_GENERAL,"Unparseable bandwidth history state: %s",err);
tor_free(err);
}
-
- if (circuit_build_times_parse_state(&circ_times, global_state, &err) < 0) {
+ if (circuit_build_times_parse_state(&circ_times, global_state, &err) < 0) {
log_warn(LD_GENERAL,"%s",err);
tor_free(err);
-
}
-
}
/** Reload the persistent state from disk, generating a new state as needed.