summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2015-11-23 07:40:13 -0500
committerRoger Dingledine <arma@torproject.org>2015-11-23 07:40:13 -0500
commit6cdd024c94ce9d2ba73cb393ccc84c6274c26d85 (patch)
tree86573bd5f8105792095e180c5465c45b8ee96ab2 /src
parentcbc1b8a4f75d449a0843451954568e0c8498821e (diff)
downloadtor-6cdd024c94ce9d2ba73cb393ccc84c6274c26d85.tar.gz
tor-6cdd024c94ce9d2ba73cb393ccc84c6274c26d85.zip
fix two typos in comments
Diffstat (limited to 'src')
-rw-r--r--src/or/directory.c2
-rw-r--r--src/or/geoip.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 6f8edb5ad4..ffe4708fca 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -3398,7 +3398,7 @@ connection_dir_finished_flushing(dir_connection_t *conn)
tor_assert(conn->base_.type == CONN_TYPE_DIR);
/* Note that we have finished writing the directory response. For direct
- * connections this means we're done, for tunneled connections its only
+ * connections this means we're done; for tunneled connections it's only
* an intermediate step. */
if (conn->dirreq_id)
geoip_change_dirreq_state(conn->dirreq_id, DIRREQ_TUNNELED,
diff --git a/src/or/geoip.c b/src/or/geoip.c
index e04c2484c0..a868daea47 100644
--- a/src/or/geoip.c
+++ b/src/or/geoip.c
@@ -969,7 +969,7 @@ geoip_get_dirreq_history(dirreq_type_t type)
&ent->completion_time);
if (time_diff == 0)
time_diff = 1; /* Avoid DIV/0; "instant" answers are impossible
- * by law of nature or something, but a milisecond
+ * by law of nature or something, but a millisecond
* is a bit greater than "instantly" */
bytes_per_second = (uint32_t)(1000 * ent->response_size / time_diff);
dltimes[ent_sl_idx] = bytes_per_second;