diff options
author | Roger Dingledine <arma@torproject.org> | 2008-02-17 16:52:24 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-02-17 16:52:24 +0000 |
commit | 4c1e516a093674e1911012a9f9c95fcab845a3e7 (patch) | |
tree | cc6f42b9be7c902eb1baaf9ee4b506d91bf454fc /src/or | |
parent | 256fd43e4244628bfbf60a826eba400da76312a9 (diff) | |
download | tor-4c1e516a093674e1911012a9f9c95fcab845a3e7.tar.gz tor-4c1e516a093674e1911012a9f9c95fcab845a3e7.zip |
cleanups and changelog entry for r13540
svn:r13542
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 0041a35cba..9c6c61749a 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -2437,7 +2437,7 @@ connection_get_by_type_state(int type, int state) /** Return a connection of type <b>type</b> that has rendquery equal * to <b>rendquery</b>, and that is not marked for close. If state * is non-zero, conn must be of that state too. If rendversion is - * nonnegative, conn must fetch that rendversion, too. + * nonnegative, conn must be fetching that rendversion, too. */ connection_t * connection_get_by_type_state_rendquery(int type, int state, @@ -2456,7 +2456,7 @@ connection_get_by_type_state_rendquery(int type, int state, (!state || state == conn->state)) { if (type == CONN_TYPE_DIR && (rendversion < 0 || - rendversion == TO_DIR_CONN(conn)->rend_version) && + rendversion == TO_DIR_CONN(conn)->rend_version) && !rend_cmp_service_ids(rendquery, TO_DIR_CONN(conn)->rend_query)) return conn; else if (CONN_IS_EDGE(conn) && |