aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-12-02 22:47:46 +0000
committerRoger Dingledine <arma@torproject.org>2006-12-02 22:47:46 +0000
commitc5b90daf868963ce7a46b117338fbaaeba30895e (patch)
tree14d1ebadc16a8b166e0eee4ecc8d46e539a20d07 /src/or
parentd1fdabf1c738873e805d4d7dd1772dc98666e18f (diff)
downloadtor-c5b90daf868963ce7a46b117338fbaaeba30895e.tar
tor-c5b90daf868963ce7a46b117338fbaaeba30895e.tar.gz
cleanups, bump to 0.1.2.4-alpha
svn:r9015
Diffstat (limited to 'src/or')
-rw-r--r--src/or/connection.c2
-rw-r--r--src/or/connection_edge.c2
-rw-r--r--src/or/main.c2
-rw-r--r--src/or/routerlist.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 428d71608..582e6e1d6 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -1166,7 +1166,7 @@ connection_read_bucket_decrement(connection_t *conn, int num_read)
}
}
-/** If we have exhaused our global read bucket, or the read bucket for conn,
+/** If we have exhausted our global read bucket, or the read bucket for conn,
* stop reading. */
static void
connection_consider_empty_buckets(connection_t *conn)
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index ada9a4a40..94b52444c 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1396,7 +1396,7 @@ connection_ap_get_original_destination(edge_connection_t *conn,
* If the handshake is complete, send it to
* connection_ap_handshake_rewrite_and_attach().
*
- * Return -1 if an unexpected error with conn ocurrs (and mark it for close),
+ * Return -1 if an unexpected error with conn occurs (and mark it for close),
* else return 0.
*/
static int
diff --git a/src/or/main.c b/src/or/main.c
index ff0e686f6..fa97e4122 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -319,7 +319,7 @@ connection_stop_reading(connection_t *conn)
tor_assert(conn);
tor_assert(conn->read_event);
- log_debug(LD_NET,"connection_stop_reading() called.");
+ log_debug(LD_NET,"entering.");
if (event_del(conn->read_event))
log_warn(LD_NET, "Error from libevent setting read event state for %d "
"to unwatched: %s",
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 26247b687..0745bc5a2 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -4108,7 +4108,7 @@ router_differences_are_cosmetic(routerinfo_t *r1, routerinfo_t *r2)
return 0;
/* Did uptime fail to increase by approximately the amount we would think,
- * give or take 4 hours? */
+ * give or take some slop? */
r1pub = r1->cache_info.published_on;
r2pub = r2->cache_info.published_on;
time_difference = abs(r2->uptime - (r1->uptime + (r2pub - r1pub)));