aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-04-16 00:12:44 +0000
committerRoger Dingledine <arma@torproject.org>2008-04-16 00:12:44 +0000
commit5e299b5e013ef9608810d4cc6e4ff63d8928f5f4 (patch)
treecfd7888a1bd61b2b1e1c1df98ca3e1d0b2da2d26 /src/or/rephist.c
parent2b4ff1718f846b438229ea8419b3b5e8b0b192a5 (diff)
downloadtor-5e299b5e013ef9608810d4cc6e4ff63d8928f5f4.tar
tor-5e299b5e013ef9608810d4cc6e4ff63d8928f5f4.tar.gz
minor fixes that have been accumulating
svn:r14378
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 64228b392..093a716da 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -312,7 +312,7 @@ rep_hist_note_router_unreachable(const char *id, time_t when)
started_tracking_stability = time(NULL);
if (hist && hist->start_of_run) {
/*XXXX We could treat failed connections differently from failed
- * conect attempts. */
+ * connect attempts. */
long run_length = when - hist->start_of_run;
hist->weighted_run_length += run_length;
hist->total_run_weights += 1.0;
@@ -1484,7 +1484,7 @@ rep_hist_get_predicted_ports(time_t now)
}
/** The user asked us to do a resolve. Rather than keeping track of
- * timings and such of resolves, we fake it for now by making treating
+ * timings and such of resolves, we fake it for now by treating
* it the same way as a connection to port 80. This way we will continue
* to have circuits lying around if the user only uses Tor for resolves.
*/