aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-08-08 10:32:36 +0000
committerRoger Dingledine <arma@torproject.org>2004-08-08 10:32:36 +0000
commitb2c7b5adfb5f085c298d32b67727f70720b2ac2b (patch)
treea7aec1ac8c1c454a5c930aea6ef26b0aaa89e49f /src/or/routerparse.c
parent05790d17225f5ba71d378f49c52cba7ed20d43ee (diff)
downloadtor-b2c7b5adfb5f085c298d32b67727f70720b2ac2b.tar
tor-b2c7b5adfb5f085c298d32b67727f70720b2ac2b.tar.gz
fix a race condition in 008pre2: don't try to extend onto a connection
that's still handshaking. for servers in clique mode, require the conn to be open before you'll choose it for your path. svn:r2198
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index ace10b24e..646ded6c0 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -1308,7 +1308,7 @@ static int router_get_hash_impl(const char *s, char *digest,
return -1;
}
if (start != s && *(start-1) != '\n') {
- log_fn(LOG_WARN, "first occurance of \"%s\" is not at the start of a line",
+ log_fn(LOG_WARN, "first occurrence of \"%s\" is not at the start of a line",
start_str);
return -1;
}