diff options
Diffstat (limited to 'src/supplemental/websocket')
| -rw-r--r-- | src/supplemental/websocket/websocket.c | 6 |
1 files changed, 2 insertions, 4 deletions
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. <info@staysail.tech> +// Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // Copyright 2019 Devolutions <info@devolutions.net> // @@ -18,8 +18,6 @@ #include "supplemental/http/http_api.h" #include "supplemental/sha1/sha1.h" -#include <nng/transport/ws/websocket.h> - #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; } |
