mirror of
https://github.com/obgm/libcoap.git
synced 2026-12-05 20:02:19 +03:00
coap_ws.c: Fix coap_ws_is_supported() check for GnuTLS
This commit is contained in:
1 parent
8ccde068ad
commit
5c11bc5f00
2 files changed
+4
-4
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user