aboutsummaryrefslogtreecommitdiff
path: root/src/sp/transport/udp
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-01-14 08:29:37 -0800
committerGarrett D'Amore <garrett@damore.org>2025-01-14 21:11:12 -0800
commit575148ac9a274d61e45220fda7d8de6a420f4fe4 (patch)
tree60e6b255d2aa5fe5a29889c436aba2edb2908bd5 /src/sp/transport/udp
parent6dc757342f5f9dedf38de356ae1802546f976bcc (diff)
downloadnng-575148ac9a274d61e45220fda7d8de6a420f4fe4.tar.gz
nng-575148ac9a274d61e45220fda7d8de6a420f4fe4.tar.bz2
nng-575148ac9a274d61e45220fda7d8de6a420f4fe4.zip
api: pipes should use nng_err
Diffstat (limited to 'src/sp/transport/udp')
-rw-r--r--src/sp/transport/udp/udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp/transport/udp/udp.c b/src/sp/transport/udp/udp.c
index 45260a1b..b068be03 100644
--- a/src/sp/transport/udp/udp.c
+++ b/src/sp/transport/udp/udp.c
@@ -1,4 +1,4 @@
-// Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2025 Staysail Systems, Inc. <info@staysail.tech>
//
// This software is supplied under the terms of the MIT License, a
// copy of which should be located in the distribution where this
@@ -1082,7 +1082,7 @@ static nni_option udp_pipe_options[] = {
},
};
-static int
+static nng_err
udp_pipe_getopt(
void *arg, const char *name, void *buf, size_t *szp, nni_type t)
{