aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-04-27 22:04:06 -0700
committerGarrett D'Amore <garrett@damore.org>2025-04-27 22:04:06 -0700
commite6848652f9684f044543a3ddf24dab806e34bc7c (patch)
treeebafaaee6b2121cd061ebe348fcf72a81e9af7ef /include
parent03f812ccb2876aacd10e589f996b5ec9e0133d5b (diff)
downloadnng-e6848652f9684f044543a3ddf24dab806e34bc7c.tar.gz
nng-e6848652f9684f044543a3ddf24dab806e34bc7c.tar.bz2
nng-e6848652f9684f044543a3ddf24dab806e34bc7c.zip
nng_device should use nng_err
Diffstat (limited to 'include')
-rw-r--r--include/nng/nng.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nng/nng.h b/include/nng/nng.h
index 07fe082c..e31e747a 100644
--- a/include/nng/nng.h
+++ b/include/nng/nng.h
@@ -1041,7 +1041,7 @@ NNG_DECL uint64_t nng_stat_timestamp(const nng_stat *);
// This version is synchronous, which means the caller will block until
// one of the sockets is closed. Note that caller is responsible for
// finally closing both sockets when this function returns.
-NNG_DECL int nng_device(nng_socket, nng_socket);
+NNG_DECL nng_err nng_device(nng_socket, nng_socket);
// Asynchronous form of nng_device. When this succeeds, the device is
// left intact and functioning in the background, until one of the sockets