aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-02-13 10:33:00 +0000
committerRoger Dingledine <arma@torproject.org>2006-02-13 10:33:00 +0000
commit259c65ab08a4a88e310097cd5df155d62ea22447 (patch)
treedf8c85eeb34952fc4590d37770d15b69d58aaaf9 /src/or/rephist.c
parentaa63a84fe10a32c33dac183517e8c41b7494a128 (diff)
downloadtor-259c65ab08a4a88e310097cd5df155d62ea22447.tar
tor-259c65ab08a4a88e310097cd5df155d62ea22447.tar.gz
the last of the log convention conversion. finally.
svn:r6005
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r--src/or/rephist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index 9e7c2e5a9..62d07b966 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -717,7 +717,7 @@ rep_hist_load_state(or_state_t *state, const char **err)
v = tor_parse_uint64(cp, 10, 0, UINT64_MAX, &ok, NULL);
if (!ok) {
all_ok=0;
- notice(LD_GENERAL, "Could not parse '%s' into a number.'", cp);
+ log_notice(LD_GENERAL, "Could not parse '%s' into a number.'", cp);
}
add_obs(b, start, v);
start += NUM_SECS_BW_SUM_INTERVAL;
@@ -840,7 +840,7 @@ rep_hist_get_predicted_ports(time_t now)
tmp_time = smartlist_get(predicted_ports_times, i);
if (*tmp_time + PREDICTED_CIRCS_RELEVANCE_TIME < now) {
tmp_port = smartlist_get(predicted_ports_list, i);
- debug(LD_CIRC, "Expiring predicted port %d", *tmp_port);
+ log_debug(LD_CIRC, "Expiring predicted port %d", *tmp_port);
smartlist_del(predicted_ports_list, i);
smartlist_del(predicted_ports_times, i);
rephist_total_alloc -= sizeof(uint16_t)+sizeof(time_t);