aboutsummaryrefslogtreecommitdiff
path: root/src/nng.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2021-11-29 21:25:36 -0800
committerGarrett D'Amore <garrett@damore.org>2021-11-29 21:25:36 -0800
commite792d31b4a3b04658108e59edeab78495ac6b5a8 (patch)
tree3f50503d6a73356d194a4fae28a4096dbed607df /src/nng.c
parentefa702387fcfa80ddd02e1a85f73c5b6f6ba1955 (diff)
downloadnng-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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nng.c b/src/nng.c
index 57f24a70..bc46fea5 100644
--- a/src/nng.c
+++ b/src/nng.c
@@ -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) {