diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-04-16 18:54:56 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-04-16 18:54:56 +0000 |
commit | 17e83a408f06fc1fb5fb9f3b87d37aa28732e2cc (patch) | |
tree | daba5586891fb30c56d8d298a8fc965d34df0b58 /src/or/router.c | |
parent | 6d32d9cb2d65c7851d87010e8971ddc271aa031b (diff) | |
download | tor-17e83a408f06fc1fb5fb9f3b87d37aa28732e2cc.tar.gz tor-17e83a408f06fc1fb5fb9f3b87d37aa28732e2cc.zip |
Fix some proposal-104 bugs.
svn:r9972
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c index c93f40bca6..27c803159b 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -1244,7 +1244,7 @@ router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router, format_iso_time(published, router->cache_info.published_on); /* How busy have we been? */ - bandwidth_usage = rep_hist_get_bandwidth_lines(); + bandwidth_usage = rep_hist_get_bandwidth_lines(0); if (router->declared_family && smartlist_len(router->declared_family)) { size_t n; @@ -1397,7 +1397,7 @@ extrainfo_dump_to_string(char *s, size_t maxlen, extrainfo_t *extrainfo, base16_encode(identity, sizeof(identity), extrainfo->cache_info.identity_digest, DIGEST_LEN); format_iso_time(published, extrainfo->cache_info.published_on); - bandwidth_usage = rep_hist_get_bandwidth_lines(); + bandwidth_usage = rep_hist_get_bandwidth_lines(1); result = tor_snprintf(s, maxlen, "extra-info %s %s\n" |