diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-11-23 08:00:53 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-11-23 08:00:53 -0800 |
| commit | d142185f3fa980e6099c3f07d37ad2c327e031c6 (patch) | |
| tree | 74232e62a0b8cb34720a1836f96cafebf5785e9a /src/core/sock_test.c | |
| parent | 49ce5d1b557d3f6477fb5a478c32ab34a92308d9 (diff) | |
| download | nng-d142185f3fa980e6099c3f07d37ad2c327e031c6.tar.gz nng-d142185f3fa980e6099c3f07d37ad2c327e031c6.tar.bz2 nng-d142185f3fa980e6099c3f07d37ad2c327e031c6.zip | |
core: remove NNG_OPT_URL entirely
Diffstat (limited to 'src/core/sock_test.c')
| -rw-r--r-- | src/core/sock_test.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/sock_test.c b/src/core/sock_test.c index 28f75a95..0e8c6d29 100644 --- a/src/core/sock_test.c +++ b/src/core/sock_test.c @@ -341,10 +341,6 @@ test_listener_options(void) // Cannot set inappropriate options NUTS_FAIL(nng_listener_set_ms(l, NNG_OPT_RECONNMINT, 1), NNG_ENOTSUP); - // Read only options - NUTS_FAIL(nng_listener_set_string(l, NNG_OPT_URL, "inproc://junk"), - NNG_EREADONLY); - NUTS_CLOSE(s1); } @@ -370,10 +366,6 @@ test_dialer_options(void) // Cannot set inappropriate options NUTS_FAIL(nng_dialer_set_ms(d, NNG_OPT_SENDTIMEO, 1), NNG_ENOTSUP); - // Read only options - NUTS_FAIL(nng_dialer_set_string(d, NNG_OPT_URL, "inproc://junk"), - NNG_EREADONLY); - NUTS_CLOSE(s1); } |
