Code Review
/
ric-plt
/
lib
/
rmr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add safe connect, fix possible seg fault in RTC
[ric-plt/lib/rmr.git]
/
src
/
rmr
/
si
/
src
/
si95
/
sinewses.c
diff --git
a/src/rmr/si/src/si95/sinewses.c
b/src/rmr/si/src/si95/sinewses.c
index
182fa6a
..
6e439de
100644
(file)
--- 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;
}