From 34be2c20a62e94e3a2815dd869609554b3922477 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 7 Sep 2024 11:33:05 -0700 Subject: Remove the legacy transport registration functions. This also allows to remove most of the transport headers. Only zerotier.h sticks around, and only for now. (We expect to eject it into a separate module.) --- src/supplemental/websocket/websocket.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/supplemental/websocket') diff --git a/src/supplemental/websocket/websocket.c b/src/supplemental/websocket/websocket.c index 53a262c5..daecbb31 100644 --- a/src/supplemental/websocket/websocket.c +++ b/src/supplemental/websocket/websocket.c @@ -1,5 +1,5 @@ // -// Copyright 2023 Staysail Systems, Inc. +// Copyright 2024 Staysail Systems, Inc. // Copyright 2018 Capitar IT Group BV // Copyright 2019 Devolutions // @@ -18,8 +18,6 @@ #include "supplemental/http/http_api.h" #include "supplemental/sha1/sha1.h" -#include - #include "websocket.h" // This should be removed or handled differently in the future. @@ -1327,7 +1325,7 @@ ws_http_cb_dialer(nni_ws *ws, nni_aio *aio) // There is a race between the dialer closing and any connections // that were in progress completing. - if (d->closed){ + if (d->closed) { rv = NNG_ECLOSED; goto err; } -- cgit v1.2.3-70-g09d2