minor fixes

svn:r2901
This commit is contained in:
Roger Dingledine 2004-11-16 03:12:53 +00:00
parent 2e2db452d6
commit abdf073f14
2 changed files with 3 additions and 2 deletions

View File

@ -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;
}

View File

@ -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)