aboutsummaryrefslogtreecommitdiff
path: root/tests/ws.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2022-12-31 13:55:11 -0800
committerGarrett D'Amore <garrett@damore.org>2022-12-31 13:55:11 -0800
commit539e559e65cd8f227c45e4b046ac41c0edcf6c32 (patch)
tree36eb234d9511bdcc0edf29a4a1a31b427be929fb /tests/ws.c
parentf26ddeb81a5ea9d316444951f54a2a017db70482 (diff)
downloadnng-539e559e65cd8f227c45e4b046ac41c0edcf6c32.tar.gz
nng-539e559e65cd8f227c45e4b046ac41c0edcf6c32.tar.bz2
nng-539e559e65cd8f227c45e4b046ac41c0edcf6c32.zip
Fixes for some security complaints.
None of these changes are actual security bugs, but GitHub's scanner reports false positives at Critical severity for them. (There are a number of complaints from that scanner, many of which we do not necessarily agree with.)
Diffstat (limited to 'tests/ws.c')
-rw-r--r--tests/ws.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ws.c b/tests/ws.c
index c7f057f1..b4e08718 100644
--- a/tests/ws.c
+++ b/tests/ws.c
@@ -1,5 +1,5 @@
//
-// Copyright 2021 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2022 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
@@ -82,5 +82,5 @@ check_props_v4(nng_msg *msg)
}
TestMain("WebSocket Transport", {
- trantest_test_extended("ws://127.0.0.1:%u/test", check_props_v4);
+ trantest_test_extended("ws://127.0.0.1:", check_props_v4);
})