mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
minor fixes
svn:r2901
This commit is contained in:
parent
2e2db452d6
commit
abdf073f14
@ -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;
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user