diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-01-14 08:29:37 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-01-14 21:11:12 -0800 |
| commit | 575148ac9a274d61e45220fda7d8de6a420f4fe4 (patch) | |
| tree | 60e6b255d2aa5fe5a29889c436aba2edb2908bd5 /src/sp/transport/ws/websocket.c | |
| parent | 6dc757342f5f9dedf38de356ae1802546f976bcc (diff) | |
| download | nng-575148ac9a274d61e45220fda7d8de6a420f4fe4.tar.gz nng-575148ac9a274d61e45220fda7d8de6a420f4fe4.tar.bz2 nng-575148ac9a274d61e45220fda7d8de6a420f4fe4.zip | |
api: pipes should use nng_err
Diffstat (limited to 'src/sp/transport/ws/websocket.c')
| -rw-r--r-- | src/sp/transport/ws/websocket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp/transport/ws/websocket.c b/src/sp/transport/ws/websocket.c index e236a5d6..23256edc 100644 --- a/src/sp/transport/ws/websocket.c +++ b/src/sp/transport/ws/websocket.c @@ -315,12 +315,12 @@ static const nni_option ws_pipe_options[] = { } }; -static int +static nng_err wstran_pipe_getopt( void *arg, const char *name, void *buf, size_t *szp, nni_type t) { ws_pipe *p = arg; - int rv; + nng_err rv; if ((rv = nni_stream_get(p->ws, name, buf, szp, t)) == NNG_ENOTSUP) { rv = nni_getopt(ws_pipe_options, name, p, buf, szp, t); |
