From e792d31b4a3b04658108e59edeab78495ac6b5a8 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 29 Nov 2021 21:25:36 -0800 Subject: 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.) --- src/nng.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/nng.c') 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) { -- cgit v1.2.3-70-g09d2