summaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-12-24 22:48:12 +0000
committerRoger Dingledine <arma@torproject.org>2005-12-24 22:48:12 +0000
commit35986a23744897b8be4a530629859d353f2bd51c (patch)
treee26ce403061b6e25c84bcd668c0309bd02bbca31 /src/or/rephist.c
parent3a2ce447b4d14fa797deec26e17bfd75d36ef424 (diff)
downloadtor-35986a23744897b8be4a530629859d353f2bd51c.tar.gz
tor-35986a23744897b8be4a530629859d353f2bd51c.zip
simplify because we weren't using those return values anyway
svn:r5643
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r--src/or/rephist.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index abb4b3c75c..2bb19d557c 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -646,11 +646,8 @@ rep_hist_get_bandwidth_lines(void)
return buf;
}
-/** Update the state with bandwidth history
- * A return value of 0 means nothing was updated,
- * a value of 1 means something has
- */
-int
+/** Update <b>state</b> with the newest bandwidth history. */
+void
rep_hist_update_state(or_state_t *state)
{
int len, r;
@@ -684,7 +681,6 @@ rep_hist_update_state(or_state_t *state)
}
tor_free(buf);
state->dirty = 1;
- return 1;
}
/** Set bandwidth history from our saved state.