diff --git a/src/XrdApps/XrdClJCachePlugin/handler/XrdClJCacheReadVHandler.hh b/src/XrdApps/XrdClJCachePlugin/handler/XrdClJCacheReadVHandler.hh index ed7518d9670..f94e9ceb65c 100644 --- a/src/XrdApps/XrdClJCachePlugin/handler/XrdClJCacheReadVHandler.hh +++ b/src/XrdApps/XrdClJCachePlugin/handler/XrdClJCacheReadVHandler.hh @@ -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()) {