From 33b946ff7a0a7281a82acfe9f32343c1222f4882 Mon Sep 17 00:00:00 2001 From: Radkesvat <134321679+radkesvat@users.noreply.github.com> Date: Mon, 8 Apr 2024 11:47:30 +0300 Subject: [PATCH] reformat --- tunnels/server/preconnect/preconnect_server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tunnels/server/preconnect/preconnect_server.c b/tunnels/server/preconnect/preconnect_server.c index 3eb76a11..fbdaed05 100644 --- a/tunnels/server/preconnect/preconnect_server.c +++ b/tunnels/server/preconnect/preconnect_server.c @@ -36,6 +36,7 @@ static void upStream(tunnel_t *self, context_t *c) return; } } + self->up->upStream(self->up, c); } else if (c->init) { @@ -58,7 +59,6 @@ static void upStream(tunnel_t *self, context_t *c) return; } - self->up->upStream(self->up, c); } static inline void downStream(tunnel_t *self, context_t *c) @@ -66,7 +66,7 @@ static inline void downStream(tunnel_t *self, context_t *c) if (c->fin) { - free(cstate); + free(CSTATE(c)); CSTATE_MUT(c) = NULL; }