From e82fcfe993ff88929ee0173f087d22566344d3cf Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 20 Sep 2007 16:31:25 +0000 Subject: [PATCH] Fix ANSI tape reading git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5614 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/stored/block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/stored/block.c b/bacula/src/stored/block.c index d23182a7ee..9bca599f84 100644 --- a/bacula/src/stored/block.c +++ b/bacula/src/stored/block.c @@ -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 */ -- 2.39.5