Beef up unit tests for SI95 code
[ric-plt/lib/rmr.git] / src / rmr / si / src / si95 / silisten.c
index 8cd484a..38ba600 100644 (file)
@@ -45,7 +45,7 @@ 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
 
-       if( PARINOID_CHECKS ) {
+       if( PARANOID_CHECKS ) {
                if( gptr == NULL ) {
                        return status;
                }
@@ -53,7 +53,7 @@ extern int SIlistener( struct ginfo_blk *gptr, int type, char *abuf ) {
                        return status;
        }
 
-       tpptr = SIlisten_prep( gptr, type, abuf, 0 );
+       tpptr = SIlisten_prep( type, abuf, 0 );
 
        if( tpptr != NULL )                          //  established a fd bound to the port ok
        {                                               //  enable connection reqs