Skip to content

Commit

Permalink
Some correction to repair tool
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuerstchen committed Aug 25, 2022
1 parent d930030 commit 2827beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdEc/XrdEcRepairTool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ bool RepairTool::error_correction( std::shared_ptr<block_t> &self, RepairTool *w
{
size_t strpid = i++;
if( self->state[strpid] != block_t::Empty ) continue;
writer->Read( self->blkid, strpid, self->stripes[strpid],
self->reader.Read( self->blkid, strpid, self->stripes[strpid],
RepairTool::update_callback( self, writer, strpid, timeout ) ,timeout);
self->state[strpid] = block_t::Loading;
++loadingcnt;
Expand Down

0 comments on commit 2827beb

Please sign in to comment.