summaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r--src/or/rephist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index 19b6ea23bf..c30583fe58 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -667,6 +667,8 @@ rep_hist_update_state(or_state_t *state)
if (! server_mode(get_options())) {
/* Clients don't need to store bandwidth history persistently;
* force these values to the defaults. */
+ /* FFFF we should pull the default out of config.c's state table,
+ * so we don't have two defaults. */
if (*s_begins != 0 || *s_interval != 900)
or_state_mark_dirty(get_or_state(), time(NULL)+600);
*s_begins = 0;