Skip to content

Commit

Permalink
XrdApps::JCache: fix readv response handler to first take VectorReadInfo
Browse files Browse the repository at this point in the history
and then extract the chunklist from there
  • Loading branch information
Andreas Joachim Peters committed Jun 10, 2024
1 parent 28cf161 commit b8c8af9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ public:
XrdCl::AnyObject* pResponse) {
if (pStatus->IsOK()) {
if (pResponse) {
ChunkList* chunks;
pResponse->Get(chunks);
VectorReadInfo* vReadInfo;
pResponse->Get(vReadInfo);
ChunkList* chunks = &(vReadInfo->GetChunks());
// store successfull reads in the journal if there is no vector cache
if (journal) {
if (vcachepath.empty()) {
Expand Down

0 comments on commit b8c8af9

Please sign in to comment.