X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Frmr%2Fnng%2Fsrc%2Frmr_nng.c;h=8a7c6d05bda43237b71445b4e436d033f0bddb4c;hb=1739800d21456ddb0b0efbf92cb6d60c6f772feb;hp=8d55b441100bfa21f735e3fcbae660f334709dda;hpb=338fe5e46223df8145b53cdf52dab358f18c7f26;p=ric-plt%2Flib%2Frmr.git diff --git a/src/rmr/nng/src/rmr_nng.c b/src/rmr/nng/src/rmr_nng.c index 8d55b44..8a7c6d0 100644 --- a/src/rmr/nng/src/rmr_nng.c +++ b/src/rmr/nng/src/rmr_nng.c @@ -1054,7 +1054,7 @@ static rmr_mbuf_t* mt_call( void* vctx, rmr_mbuf_t* mbuf, int call_id, int max_w seconds = 1; // use as flag later to invoked timed wait } - if( ep != NULL ) { + if( ep == NULL ) { mbuf = mtosend_msg( ctx, mbuf, 0 ); // use internal function so as not to strip call-id; should be nil on success! } else { mbuf = send_msg( ctx, mbuf, ep->nn_sock, -1 );