]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix ANSI tape reading
authorKern Sibbald <kern@sibbald.com>
Thu, 20 Sep 2007 16:31:25 +0000 (16:31 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 20 Sep 2007 16:31:25 +0000 (16:31 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5614 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/block.c

index d23182a7eed9ed00022e6668fdce554fa55130e7..9bca599f841db99ac0fa1fbba09900dd6de71a71 100644 (file)
@@ -1013,7 +1013,7 @@ reread:
    /* Continue here for successful read */
 
    block->read_len = stat;      /* save length read */
-   if (dev->at_eof() && block->read_len == 80 && 
+   if (block->read_len == 80 && 
         (dcr->VolCatInfo.LabelType != B_BACULA_LABEL ||
          dcr->device->label_type != B_BACULA_LABEL)) {
       /* ***FIXME*** should check label */