Skip to content

Commit

Permalink
[backend] add forgotten 'offset' parameter in the cache-hit case
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Jun 4, 2018
1 parent 4ae2474 commit 2bbe634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/bs_repserver
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ sub getbinarylist_repository {
if (open($fd, '<', "$reporoot/$prp/$arch/:full.xcache")) {
my $id;
if (sysread($fd, $id, 64) == 64 && $id eq $id64) {
push @files, { 'name' => 'repositorycache', 'filename' => $fd };
push @files, { 'name' => 'repositorycache', 'filename' => $fd, 'offset' => 64 };
BSWatcher::reply_cpio(\@files);
return undef;
}
Expand Down

0 comments on commit 2bbe634

Please sign in to comment.