From 442b516dc60b3140181f5060b184226d0d289d4a Mon Sep 17 00:00:00 2001 From: jaylin Date: Thu, 21 Dec 2023 13:17:17 +0800 Subject: [PATCH] * FIX [exchange/test] fix test : wrong use of aio_begin Signed-off-by: jaylin --- src/mqtt/protocol/exchange/exchange_client_test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mqtt/protocol/exchange/exchange_client_test.c b/src/mqtt/protocol/exchange/exchange_client_test.c index 257347d3b..cbed4deda 100644 --- a/src/mqtt/protocol/exchange/exchange_client_test.c +++ b/src/mqtt/protocol/exchange/exchange_client_test.c @@ -50,7 +50,6 @@ client_publish(nng_socket sock, const char *topic, uint32_t key, uint8_t *payloa nni_aio *aio = NULL; NUTS_PASS(nng_aio_alloc(&aio, NULL, NULL)); - nng_aio_begin(aio); nni_aio_set_prov_data(aio, (void *)key); nni_aio_set_msg(aio, pubmsg);