From 03f812ccb2876aacd10e589f996b5ec9e0133d5b Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 27 Apr 2025 22:02:04 -0700 Subject: More nng_err -- this time for dialer and listener allocations. --- src/platform/windows/win_socketpair.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/platform/windows/win_socketpair.c') diff --git a/src/platform/windows/win_socketpair.c b/src/platform/windows/win_socketpair.c index f97df2fd..57820c72 100644 --- a/src/platform/windows/win_socketpair.c +++ b/src/platform/windows/win_socketpair.c @@ -9,7 +9,6 @@ #include "core/nng_impl.h" - #ifdef NNG_HAVE_SOCKETPAIR_TODO // TODO: Windows lacks socketpair. We can emulate it with an explcit // implementation based on AF_UNIX. @@ -46,7 +45,7 @@ nni_sfd_close_fd(int fd) NNI_ARG_UNUSED(fd); } -int +nng_err nni_sfd_conn_alloc(nni_sfd_conn **cp, int fd) { NNI_ARG_UNUSED(cp); -- cgit v1.2.3-70-g09d2