diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-01-14 23:12:16 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-01-14 23:12:16 -0800 |
| commit | 8ff8fa5077164f2ec9dd2f02b7f9f5b66f225db6 (patch) | |
| tree | 82a51f2e7fea44140b31917e9962e30aab5a6116 /src/nng.c | |
| parent | 97058f23b30e703df8f8d1a11512000ca6d199fc (diff) | |
| download | nng-8ff8fa5077164f2ec9dd2f02b7f9f5b66f225db6.tar.gz nng-8ff8fa5077164f2ec9dd2f02b7f9f5b66f225db6.tar.bz2 nng-8ff8fa5077164f2ec9dd2f02b7f9f5b66f225db6.zip | |
aio: more nng_err updates
Diffstat (limited to 'src/nng.c')
| -rw-r--r-- | src/nng.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1828,11 +1828,11 @@ nng_msg_set_pipe(nng_msg *msg, nng_pipe p) nni_msg_set_pipe(msg, p.id); } -int +nng_err nng_aio_alloc(nng_aio **app, void (*cb)(void *), void *arg) { nng_aio *aio; - int rv; + nng_err rv; if ((rv = nni_aio_alloc(&aio, (nni_cb) cb, arg)) == 0) { nng_aio_set_timeout(aio, NNG_DURATION_DEFAULT); |
