diff options
| author | Garrett D'Amore <garrett@damore.org> | 2021-11-29 21:25:36 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2021-11-29 21:25:36 -0800 |
| commit | e792d31b4a3b04658108e59edeab78495ac6b5a8 (patch) | |
| tree | 3f50503d6a73356d194a4fae28a4096dbed607df /src/nng.c | |
| parent | efa702387fcfa80ddd02e1a85f73c5b6f6ba1955 (diff) | |
| download | nng-e792d31b4a3b04658108e59edeab78495ac6b5a8.tar.gz nng-e792d31b4a3b04658108e59edeab78495ac6b5a8.tar.bz2 nng-e792d31b4a3b04658108e59edeab78495ac6b5a8.zip | |
Fix incorrect elides of deprecated code.
(Note that this includes some incorrect formatting due to an apparent
bug in clang-format 13. Hopefully they'll fix it later, but for now
I'm preserving the bad whitespace.)
Diffstat (limited to 'src/nng.c')
| -rw-r--r-- | src/nng.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -294,9 +294,9 @@ nng_ctx_id(nng_ctx c) int nng_ctx_recvmsg(nng_ctx cid, nng_msg **msgp, int flags) { - int rv; - nni_aio aio; - nni_ctx *ctx; + int rv; + nni_aio aio; + nni_ctx *ctx; if ((rv = nni_ctx_find(&ctx, cid.id, false)) != 0) { return (rv); @@ -366,8 +366,8 @@ nng_ctx_send(nng_ctx cid, nng_aio *aio) int nng_ctx_sendmsg(nng_ctx cid, nng_msg *msg, int flags) { - int rv; - nni_aio aio; + int rv; + nni_aio aio; nni_ctx *ctx; if (msg == NULL) { |
