We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce1dccc commit 8d6ada3Copy full SHA for 8d6ada3
src/thread.c
@@ -637,13 +637,8 @@ static void rnng_dispatch_thread(void *args) {
637
nng_ctx_send(ctx[i], saio[i]->aio);
638
nng_ctx_recv(ctx[i], raio[i]->aio);
639
} else {
640
- nng_msg_alloc(&msg, 0);
641
- nng_msg_append(msg, (unsigned char *) &xc, sizeof(int));
642
- if ((xc = nng_ctx_sendmsg(rctx[i], msg, 0)))
643
- nng_msg_free(msg);
644
- nng_ctx_close(rctx[i]);
645
- nng_ctx_open(&rctx[i], hsock);
646
- nng_ctx_recv(rctx[i], haio[i]->aio);
+ // should never reach here
+ goto exitlevel2;
647
}
648
break;
649
0 commit comments