summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-06-28 14:20:28 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-08-24 13:03:28 -0400
commitb2a820958e8389853757c3e5ad59114bd82623d4 (patch)
treed16ddff59e5bcba926c6fc55a80fb747db2921f0
parent343af1a9cf64e060150caf7b53e513315cc37f72 (diff)
downloadtor-b2a820958e8389853757c3e5ad59114bd82623d4.tar.gz
tor-b2a820958e8389853757c3e5ad59114bd82623d4.zip
prop224: Rename hs_client_note_connection_attempt_succeeded()
This is a static function so don't polute the hs_client_ namespace. Signed-off-by: David Goulet <dgoulet@torproject.org>
-rw-r--r--src/or/hs_client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/hs_client.c b/src/or/hs_client.c
index 66068092f3..8cf98a6b90 100644
--- a/src/or/hs_client.c
+++ b/src/or/hs_client.c
@@ -18,10 +18,10 @@
#include "hs_client.h"
#include "router.h"
-/** A prop224 v3 HS circuit successfully connected to the hidden
- * service. Update the stream state at <b>hs_conn_ident</b> appropriately. */
+/* A v3 HS circuit successfully connected to the hidden service. Update the
+ * stream state at <b>hs_conn_ident</b> appropriately. */
static void
-hs_client_attempt_succeeded(const hs_ident_edge_conn_t *hs_conn_ident)
+note_connection_attempt_succeeded(const hs_ident_edge_conn_t *hs_conn_ident)
{
(void) hs_conn_ident;
@@ -153,7 +153,7 @@ hs_client_note_connection_attempt_succeeded(const edge_connection_t *conn)
}
if (conn->hs_ident) { /* It's v3: pass it to the prop224 handler */
- hs_client_attempt_succeeded(conn->hs_ident);
+ note_connection_attempt_succeeded(conn->hs_ident);
return;
} else if (conn->rend_data) { /* It's v2: pass it to the legacy handler */
rend_client_note_connection_attempt_ended(conn->rend_data);