diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-01-14 23:22:40 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-01-14 23:22:40 -0800 |
| commit | 5b7313273ad99d8da69425beb3b1b3f09025caed (patch) | |
| tree | c87489203337ab3a342fe4137673f6cb870e4f62 /include | |
| parent | b4fdf7a04fc1018f1114fb8ee6f16009752cd16f (diff) | |
| download | nng-5b7313273ad99d8da69425beb3b1b3f09025caed.tar.gz nng-5b7313273ad99d8da69425beb3b1b3f09025caed.tar.bz2 nng-5b7313273ad99d8da69425beb3b1b3f09025caed.zip | |
pipe: nng_pipe_notify should use nng_err
Diffstat (limited to 'include')
| -rw-r--r-- | include/nng/nng.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nng/nng.h b/include/nng/nng.h index e2200f17..b3c5ae14 100644 --- a/include/nng/nng.h +++ b/include/nng/nng.h @@ -337,7 +337,7 @@ typedef void (*nng_pipe_cb)(nng_pipe, nng_pipe_ev, void *); // nng_pipe_notify registers a callback to be executed when the // given event is triggered. To watch for different events, register // multiple times. Each event can have at most one callback registered. -NNG_DECL int nng_pipe_notify(nng_socket, nng_pipe_ev, nng_pipe_cb, void *); +NNG_DECL nng_err nng_pipe_notify(nng_socket, nng_pipe_ev, nng_pipe_cb, void *); // nng_listen creates a listening endpoint with no special options, // and starts it listening. It is functionally equivalent to the legacy |
