summaryrefslogtreecommitdiff
path: root/src/or/hs_service.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-08-03 15:47:06 +0300
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:34 -0400
commit7c507a1f7f58adb48be887cd26686190c3b22cfd (patch)
treeeac4b2d44a35f6e4065c5921c609f2669f924be4 /src/or/hs_service.h
parente42c55626abf7447a154f5271e3bc35743340a21 (diff)
downloadtor-7c507a1f7f58adb48be887cd26686190c3b22cfd.tar.gz
tor-7c507a1f7f58adb48be887cd26686190c3b22cfd.zip
Relax assertions: turn them to BUGs and non-fatal asserts.
Diffstat (limited to 'src/or/hs_service.h')
-rw-r--r--src/or/hs_service.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/hs_service.h b/src/or/hs_service.h
index cb2a7aa80e..cf2e1fa6f4 100644
--- a/src/or/hs_service.h
+++ b/src/or/hs_service.h
@@ -313,8 +313,8 @@ STATIC void get_objects_from_ident(const hs_ident_circuit_t *ident,
hs_service_t **service,
hs_service_intro_point_t **ip,
hs_service_descriptor_t **desc);
-STATIC const node_t *get_node_from_intro_point(
- const hs_service_intro_point_t *ip);
+STATIC const node_t *
+get_node_from_intro_point(const hs_service_intro_point_t *ip);
STATIC int can_service_launch_intro_circuit(hs_service_t *service,
time_t now);
STATIC int intro_point_should_expire(const hs_service_intro_point_t *ip,