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
Eliminate the SI receive buffer length requirement
[ric-plt/lib/rmr.git]
/
src
/
rmr
/
si
/
src
/
si95
/
silisten.c
diff --git
a/src/rmr/si/src/si95/silisten.c
b/src/rmr/si/src/si95/silisten.c
index
c7151d4
..
3ce0e18
100644
(file)
--- a/
src/rmr/si/src/si95/silisten.c
+++ b/
src/rmr/si/src/si95/silisten.c
@@
-45,16
+45,14
@@
extern int SIlistener( struct ginfo_blk *gptr, int type, char *abuf ) {
struct tp_blk *tpptr; // pointer into tp list
int status = SI_ERROR; // status of processing
struct tp_blk *tpptr; // pointer into tp list
int status = SI_ERROR; // status of processing
- if( PAR
I
NOID_CHECKS ) {
+ if( PAR
A
NOID_CHECKS ) {
if( gptr == NULL ) {
return status;
}
if( gptr == NULL ) {
return status;
}
- gptr->sierr = SI_ERR_HANDLE;
if( gptr->magicnum != MAGICNUM ) // good cookie at the gptr address?
return status;
}
if( gptr->magicnum != MAGICNUM ) // good cookie at the gptr address?
return status;
}
- gptr->sierr = SI_ERR_TP;
tpptr = SIlisten_prep( gptr, type, abuf, 0 );
if( tpptr != NULL ) // established a fd bound to the port ok
tpptr = SIlisten_prep( gptr, type, abuf, 0 );
if( tpptr != NULL ) // established a fd bound to the port ok