diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-04-27 22:04:06 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-04-27 22:04:06 -0700 |
| commit | e6848652f9684f044543a3ddf24dab806e34bc7c (patch) | |
| tree | ebafaaee6b2121cd061ebe348fcf72a81e9af7ef /src/nng.c | |
| parent | 03f812ccb2876aacd10e589f996b5ec9e0133d5b (diff) | |
| download | nng-e6848652f9684f044543a3ddf24dab806e34bc7c.tar.gz nng-e6848652f9684f044543a3ddf24dab806e34bc7c.tar.bz2 nng-e6848652f9684f044543a3ddf24dab806e34bc7c.zip | |
nng_device should use nng_err
Diffstat (limited to 'src/nng.c')
| -rw-r--r-- | src/nng.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1220,11 +1220,11 @@ nng_device_aio(nng_aio *aio, nng_socket s1, nng_socket s2) } } -int +nng_err nng_device(nng_socket s1, nng_socket s2) { nni_aio aio; - int rv; + nng_err rv; nni_aio_init(&aio, NULL, NULL); nng_device_aio(&aio, s1, s2); nni_aio_wait(&aio); |
