Skip to content

Commit

Permalink
* FIX [exchange/test] fix test : wrong use of aio_begin
Browse files Browse the repository at this point in the history
Signed-off-by: jaylin <jaylin@emqx.io>
  • Loading branch information
JaylinYu committed Dec 21, 2023
1 parent e025b8e commit 442b516
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mqtt/protocol/exchange/exchange_client_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 442b516

Please sign in to comment.