From: teor (Tim Wilson-Brown) Date: Mon, 7 Dec 2015 05:13:07 +0000 (+1100) Subject: Comment-only change to connection_get_by_type_addr_port_purpose X-Git-Tag: tor-0.2.8.1-alpha~191^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=329aa59e432f9f1796315b5f54692bfeff295c47;p=thirdparty%2Ftor.git Comment-only change to connection_get_by_type_addr_port_purpose connection_get_by_type_addr_port_purpose also ignores connections that are marked for close. --- diff --git a/src/or/connection.c b/src/or/connection.c index 5ac0cb6cc5..4e39832709 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -4215,7 +4215,8 @@ connection_write_to_buf_impl_,(const char *string, size_t len, } /** Return a connection with given type, address, port, and purpose; - * or NULL if no such connection exists. */ + * or NULL if no such connection exists (or if all such connections are marked + * for close). */ connection_t * connection_get_by_type_addr_port_purpose(int type, const tor_addr_t *addr, uint16_t port,