X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Frmr%2Fcommon%2Fsrc%2Fwormholes.c;h=2bc5c9f713e5bfbdd1589c34b6300d16dc7c50af;hb=bc3de17c3b959fcc6a5ba42f5d3b09402bf89687;hp=2518b7aab6e49a08987341d3f5de24b75d4b01a1;hpb=68c1ab2191d9959fde0bd275a560f7c9cf6df485;p=ric-plt%2Flib%2Frmr.git diff --git a/src/rmr/common/src/wormholes.c b/src/rmr/common/src/wormholes.c index 2518b7a..2bc5c9f 100644 --- a/src/rmr/common/src/wormholes.c +++ b/src/rmr/common/src/wormholes.c @@ -230,7 +230,7 @@ extern rmr_whid_t rmr_wh_open( void* vctx, char const* target ) { } } - if( !rt_link2_ep( ep ) ) { // start a connection if open already + if( !rt_link2_ep( ctx, ep ) ) { // start a connection if not already open errno = ECONNREFUSED; return -1; }