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;
}
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;