src/stored/match_bsr.c
static int match_sessid(BSR *bsr, BSR_SESSID *sessid, DEV_RECORD *rec)
{
   if (!sessid) {
      return 1;                       /* no specification matches all */
   }
   if (sessid->sessid <= rec->VolSessionId && sessid->sessid2 >= rec->VolSessionId) {
      return 1;
   }
   if (sessid->next) {
      return match_sessid(bsr, sessid->next, rec);
   }
   return 0;
}
/*
 * Note, we cannot mark bsr done based on session id because we may
 *  have interleaved records, and there may be more of what we want
 *  later.
 */
Note, we cannot mark bsr done based on session id because we may
have interleaved records, and there may be more of what we want
later.
Note we cannot mark bsr done based on session id because we may have interleaved records and there may be more of what we want later .
static int match_sessid(BSR *bsr, BSR_SESSID *sessid, DEV_RECORD *rec)
{
   if (!sessid) {
      return 1;                       
   }
   if (sessid->sessid <= rec->VolSessionId && sessid->sessid2 >= rec->VolSessionId) {
      return 1;
   }
   if (sessid->next) {
      return match_sessid(bsr, sessid->next, rec);
   }
   return 0;
}
static int match_sessid ( BSR * bsr , BSR_SESSID * sessid , DEV_RECORD * rec ) { if ( ! sessid ) { return 1 ; } if ( sessid -> sessid <= rec -> VolSessionId && sessid -> sessid2 >= rec -> VolSessionId ) { return 1 ; } if ( sessid -> next ) { return match_sessid ( bsr , sessid -> next , rec ) ; } return 0 ; }
Note, we cannot mark bsr done based on session id because we may
  have interleaved records, and there may be more of what we want
  later.
Note we cannot mark bsr done based on session id because we may have interleaved records and there may be more of what we want later .
/* no specification matches all */