summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-04-03 11:24:14 +0000
committerRoger Dingledine <arma@torproject.org>2006-04-03 11:24:14 +0000
commit453062b028be68acbfb47475d925dcdbd6c5f11f (patch)
treeb5f7fecefea0ab2f597ddf2150d0e4e8f493d6c4
parent7198af7fbedf26f1c424015e37e173809b6c2ac6 (diff)
downloadtor-453062b028be68acbfb47475d925dcdbd6c5f11f.tar.gz
tor-453062b028be68acbfb47475d925dcdbd6c5f11f.zip
fix typo, remove extraneous variable
svn:r6311
-rw-r--r--src/or/circuitlist.c2
-rw-r--r--src/or/routerlist.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index 908038a992..73513c4030 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -676,7 +676,7 @@ _circuit_mark_for_close(circuit_t *circ, int reason, int line,
reason = END_CIRC_REASON_NONE;
} else if (CIRCUIT_IS_ORIGIN(circ) && reason != END_CIRC_REASON_NONE) {
/* Don't warn about this; there are plenty of places where our code
- * is origin-agnosic. */
+ * is origin-agnostic. */
reason = END_CIRC_REASON_NONE;
}
if (reason < _END_CIRC_REASON_MIN || reason > _END_CIRC_REASON_MAX) {
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 105ee42b8c..69140c09aa 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -2612,7 +2612,6 @@ compute_recommended_versions(time_t now, int client)
{
const char *vers;
smartlist_t *versions;
- int i;
if (! ns->recommends_versions)
continue;
if (ns->received_on + SELF_OPINION_INTERVAL < now)