X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Frmr%2Fsi%2Fsrc%2Fsi95%2Fsinewses.c;h=6e439deebe13f6336a4c5fb2a7a575b1fadd2ea2;hb=43b7981cee870dcf523b910a3af92ccc53556b2a;hp=0b00ba40287922349870530fde7fdd5c00ea67b6;hpb=ec88d3c0563eeb6ae5f73427edb0b3c4d7acf299;p=ric-plt%2Flib%2Frmr.git diff --git a/src/rmr/si/src/si95/sinewses.c b/src/rmr/si/src/si95/sinewses.c index 0b00ba4..6e439de 100644 --- a/src/rmr/si/src/si95/sinewses.c +++ b/src/rmr/si/src/si95/sinewses.c @@ -61,7 +61,7 @@ extern int SInewsession( struct ginfo_blk *gptr, struct tp_blk *tpptr ) { newtp = SInew( TP_BLK ); // get a new tp block for the session if( newtp == NULL ) { - close( status ); // must disconnect the other side + CLOSE( status ); // must disconnect the other side free( addr ); return SI_ERROR; } @@ -114,7 +114,6 @@ extern int SInewsession( struct ginfo_blk *gptr, struct tp_blk *tpptr ) { SIcbstat( gptr, status, SI_CB_CONN ); // handle status } - gptr->flags |= GIF_SESS_CHANGE; // sessions changed must rebuild the poll list SImap_fd( gptr, newtp->fd, newtp ); // add fd to the map return SI_OK;