Fix rmr_rpobe command line bug; add test coverage
[ric-plt/lib/rmr.git] / src / rmr / si / src / si95 / sicbreg.c
index 9adb0c0..6428b1d 100644 (file)
@@ -39,8 +39,8 @@
 extern void SIcbreg( struct ginfo_blk *gptr, int type, int ((*fptr)()), void * dptr ) {
 
        if( gptr == NULL ) {
-               fprintf( stderr, "[ERR] SIcbreg -- gptr was nil\n" );
-               exit( 1 );
+               rmr_vlog( RMR_VL_ERR, "SIcbreg -- gptr was nil\n" );
+               return;
        }
 
         if( gptr->magicnum == MAGICNUM ) {                     //  valid block from user ?