coap_ws.c: Fix coap_ws_is_supported() check for GnuTLS

This commit is contained in:
Jon Shallow authored and Jon Shallow committed 2023-04-13 10:13:54 +01:00
1 parent 8ccde068ad
commit 5c11bc5f00
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -2971,7 +2971,7 @@ main(int argc, char **argv) {
break;
case 'w':
if (!coap_ws_is_supported() || !cmdline_ws(optarg)) {
fprintf(stderr, "WebSckets not enabled in libcoap\n");
fprintf(stderr, "WebSockets not enabled in libcoap\n");
exit(1);
}
enable_ws = 1;