     }
 -//  Dmsg3(dbglevel, "match_volblock: sblock=%u eblock=%u recblock=%u\n",
 -//             volblock->sblock, volblock->eblock, rec->Block);
+-   if (volblock->sblock <= rec->Block && volblock->eblock >= rec->Block) {
 +   Dmsg3(dbglevel, "match_volblock: sblock=%u eblock=%u recblock=%u\n",
 +         volblock->sblock, volblock->eblock, rec->Block);
 +
 +   /* FIXME */
 +   /* Don't reject the call if we are called with a small offset */
-+   uint32_t min = (volblock->sblock)?volblock->sblock-1:0;
++   uint32_t min = (volblock->sblock>DEFAULT_BLOCK_SIZE)?volblock->sblock-DEFAULT_BLOCK_SIZE:0;
 +
 +   /* We have call where rec->Block is the block after EndBlock 
 +    * But, we are already decoding rec->Block-1Block records
 +    */
 +   uint32_t max = volblock->eblock+DEFAULT_BLOCK_SIZE;
-    if (volblock->sblock <= rec->Block && volblock->eblock >= rec->Block) {
-+//   if (min <= rec->Block && max >= rec->Block) {
++//   if (volblock->sblock <= rec->Block && volblock->eblock >= rec->Block) {
++   if (min <= rec->Block && max >= rec->Block) {
        return 1;
     }
     /* Once we get past last eblock, we are done */
-Index: src/stored/read_record.c
-===================================================================
---- src/stored/read_record.c	(révision 8116)
-+++ src/stored/read_record.c	(copie de travail)
+Index: read_record.c
+===================================================================
+--- read_record.c	(révision 8116)
++++ read_record.c	(copie de travail)
 @@ -261,8 +261,8 @@
                 Dmsg2(100, "All done=(file:block) %u:%u\n", dev->file, dev->block_num);
                 break;

Index: src/stored/match_bsr.c
===================================================================
--- src/stored/match_bsr.c	(révision 8116)
+++ src/stored/match_bsr.c	(copie de travail)
@@ -36,15 +36,6 @@
 
 /*

          }
          print_ls_output(jcr, attr);
          num_files++;
Index: bscan.c
===================================================================
--- bscan.c	(révision 8146)
+++ bscan.c	(copie de travail)
@@ -420,9 +420,9 @@
    }
 
