summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-01-12 12:37:42 -0500
committerNick Mathewson <nickm@torproject.org>2011-01-12 12:37:42 -0500
commit5044cb9752b4414cadcdc3b12926b005e390fdf0 (patch)
treec2800e0ee75e323817b0adba276af917ed1050bd /src/or/config.c
parent95968a625e91ae43aef9a4b810f93078dabe1419 (diff)
downloadtor-5044cb9752b4414cadcdc3b12926b005e390fdf0.tar.gz
tor-5044cb9752b4414cadcdc3b12926b005e390fdf0.zip
Explain bug2346 fix better based on suggestions from arma
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 5198eaa055..a27fd22b24 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -5187,7 +5187,8 @@ or_state_save(time_t now)
global_state->LastWritten = -1;
tor_free(fname);
tor_free(contents);
- /* Try again in after STATE_WRITE_RETRY_INTERVAL */
+ /* Try again after STATE_WRITE_RETRY_INTERVAL (or sooner, if the state
+ * changes sooner). */
global_state->next_write = now + STATE_WRITE_RETRY_INTERVAL;
return -1;
}