mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 23:21:38 +01:00
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>
This commit is contained in:
parent
343af1a9cf
commit
b2a820958e
1 changed files with 4 additions and 4 deletions
|
@ -18,10 +18,10 @@
|
||||||
#include "hs_client.h"
|
#include "hs_client.h"
|
||||||
#include "router.h"
|
#include "router.h"
|
||||||
|
|
||||||
/** A prop224 v3 HS circuit successfully connected to the hidden
|
/* A v3 HS circuit successfully connected to the hidden service. Update the
|
||||||
* service. Update the stream state at <b>hs_conn_ident</b> appropriately. */
|
* stream state at <b>hs_conn_ident</b> appropriately. */
|
||||||
static void
|
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;
|
(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 */
|
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;
|
return;
|
||||||
} else if (conn->rend_data) { /* It's v2: pass it to the legacy handler */
|
} else if (conn->rend_data) { /* It's v2: pass it to the legacy handler */
|
||||||
rend_client_note_connection_attempt_ended(conn->rend_data);
|
rend_client_note_connection_attempt_ended(conn->rend_data);
|
||||||
|
|
Loading…
Add table
Reference in a new issue