diff options
Diffstat (limited to 'src/sp')
| -rw-r--r-- | src/sp/transport/ws/ws_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp/transport/ws/ws_test.c b/src/sp/transport/ws/ws_test.c index 4a2b58c2..b5e72b79 100644 --- a/src/sp/transport/ws/ws_test.c +++ b/src/sp/transport/ws/ws_test.c @@ -106,8 +106,8 @@ test_wild_card_host(void) snprintf(addr, sizeof(addr), "ws://127.0.0.1:%u/test", port); NUTS_PASS(nng_dial(s2, addr, NULL, 0)); - NUTS_CLOSE(s1); NUTS_CLOSE(s2); + NUTS_CLOSE(s1); } static void @@ -131,8 +131,8 @@ test_empty_host(void) snprintf(addr, sizeof(addr), "ws://127.0.0.1:%u/test", port); NUTS_PASS(nng_dial(s2, addr, NULL, 0)); - NUTS_CLOSE(s1); NUTS_CLOSE(s2); + NUTS_CLOSE(s1); } void |
