From 7bb5ab9c4f70c9fa0a67a22c4aee83b0109318c4 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 27 Apr 2025 23:35:25 -0700 Subject: Converted property functions to use nng_err. --- src/core/protocol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/protocol.h') diff --git a/src/core/protocol.h b/src/core/protocol.h index 5231c8f4..109ec5ef 100644 --- a/src/core/protocol.h +++ b/src/core/protocol.h @@ -109,10 +109,10 @@ struct nni_proto_sock_ops { void (*sock_recv)(void *, nni_aio *); // Return the receive poll FD. - int (*sock_recv_poll_fd)(void *, int *); + nng_err (*sock_recv_poll_fd)(void *, int *); // Return the send poll FD. - int (*sock_send_poll_fd)(void *, int *); + nng_err (*sock_send_poll_fd)(void *, int *); // Options. Must not be NULL. Final entry should have NULL name. nni_option *sock_options; -- cgit v1.2.3-70-g09d2