summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-11-16 03:12:53 +0000
committerRoger Dingledine <arma@torproject.org>2004-11-16 03:12:53 +0000
commitabdf073f14d511851cf78f34f808c12907504e6f (patch)
tree45c20996d459308ec9f2f779aa2213843048a948
parent2e2db452d6ab47dad22a24ebd05266a75ca08bc4 (diff)
downloadtor-abdf073f14d511851cf78f34f808c12907504e6f.tar.gz
tor-abdf073f14d511851cf78f34f808c12907504e6f.zip
minor fixes
svn:r2901
-rw-r--r--src/or/circuituse.c2
-rw-r--r--src/or/cpuworker.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index de20f7fcdd..9e97629573 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -697,7 +697,7 @@ circuit_get_open_circ_or_launch(connection_t *conn,
/* need to pick an intro point */
exitname = rend_client_get_random_intro(conn->rend_query);
if(!exitname) {
- log_fn(LOG_WARN,"Couldn't get an intro point for '%s'. Closing conn.",
+ log_fn(LOG_WARN,"Couldn't get an intro point for '%s'. Closing.",
conn->rend_query);
return -1;
}
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index 10072f4bf2..998b4b3791 100644
--- a/src/or/cpuworker.c
+++ b/src/or/cpuworker.c
@@ -134,7 +134,8 @@ int connection_cpu_process_inbuf(connection_t *conn) {
/* parse out the circ it was talking about */
tag_unpack(buf, &addr, &port, &circ_id);
circ = NULL;
- /* (This is actually right: we want a specific port here in
+ /* (Here we use connection_exact_get_by_addr_port rather than
+ * get_by_identity_digest: we want a specific port here in
* case there are multiple connections.) */
p_conn = connection_exact_get_by_addr_port(addr,port);
if(p_conn)