We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4afec7c commit 688bc4bCopy full SHA for 688bc4b
subsys/net/lib/websocket/websocket.c
@@ -452,7 +452,7 @@ int websocket_disconnect(int ws_sock)
452
return zsock_close(ws_sock);
453
}
454
455
-static int websocket_interal_disconnect(struct websocket_context *ctx)
+static int websocket_internal_disconnect(struct websocket_context *ctx)
456
{
457
int ret;
458
@@ -480,7 +480,7 @@ static int websocket_close_vmeth(void *obj)
480
struct websocket_context *ctx = obj;
481
482
483
- ret = websocket_interal_disconnect(ctx);
+ ret = websocket_internal_disconnect(ctx);
484
if (ret < 0) {
485
/* Ignore error if we are not connected */
486
if (ret != -ENOTCONN) {
0 commit comments