diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-11-02 23:54:27 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-11-02 23:54:27 -0700 |
| commit | 02ec0b55cbee5de4d0fd688ce0ebddf08178dc98 (patch) | |
| tree | 6cb65f860f8f9992b14139f52bf065c48f7b5a58 /src/sp/protocol/pipeline0/pull_test.c | |
| parent | 8bac5ccdf1de7334311459b9e2666e74a2c16c15 (diff) | |
| download | nng-02ec0b55cbee5de4d0fd688ce0ebddf08178dc98.tar.gz nng-02ec0b55cbee5de4d0fd688ce0ebddf08178dc98.tar.bz2 nng-02ec0b55cbee5de4d0fd688ce0ebddf08178dc98.zip | |
Replace `NNG_OPT_RAW` with `nng_socket_raw`.
Similar to the other identities, this simplifies code a bit.
Diffstat (limited to 'src/sp/protocol/pipeline0/pull_test.c')
| -rw-r--r-- | src/sp/protocol/pipeline0/pull_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp/protocol/pipeline0/pull_test.c b/src/sp/protocol/pipeline0/pull_test.c index 59dcf8a8..74fd6046 100644 --- a/src/sp/protocol/pipeline0/pull_test.c +++ b/src/sp/protocol/pipeline0/pull_test.c @@ -241,7 +241,7 @@ test_pull_cooked(void) bool b; NUTS_PASS(nng_pull0_open(&s)); - NUTS_PASS(nng_socket_get_bool(s, NNG_OPT_RAW, &b)); + NUTS_PASS(nng_socket_raw(s, &b)); NUTS_TRUE(!b); NUTS_CLOSE(s); } |
