summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-12-07 15:29:54 +0000
committerRoger Dingledine <arma@torproject.org>2004-12-07 15:29:54 +0000
commit802d374a99cae37ec33a098e4df79cd9165e624e (patch)
tree46a58925649c55096ac1911a5e64184570ba61e8 /src/or/or.h
parenta2d80ec767b68482e6ed98fefc3162e8ab1fdb93 (diff)
downloadtor-802d374a99cae37ec33a098e4df79cd9165e624e.tar.gz
tor-802d374a99cae37ec33a098e4df79cd9165e624e.zip
I'm a bad person.
Stop treating the uint16_t's as null-terminated strings, and stop looking at the byte after them to see if it's null, because sometimes you're not allowed to look there. svn:r3108
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index bfd473de6c..92d1a22fe4 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1451,7 +1451,7 @@ int rep_hist_bandwidth_assess(void);
char *rep_hist_get_bandwidth_lines(void);
void rep_history_clean(time_t before);
void rep_hist_note_used_port(uint16_t port, time_t now);
-char *rep_hist_get_predicted_ports(time_t now);
+smartlist_t *rep_hist_get_predicted_ports(time_t now);
/********************************* rendclient.c ***************************/