Skip to content

Commit

Permalink
[XrdXrootd] Fix pointer to readahead_list in do_ReadNone
Browse files Browse the repository at this point in the history
  • Loading branch information
amadio committed Nov 26, 2024
1 parent 50aec7f commit 103e70f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdXrootd/XrdXrootdXeq.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2504,7 +2504,7 @@ int XrdXrootdProtocol::do_ReadNone(int &retc, int &pathID)
XrdXrootdFHandle fh;
int ralsz = Request.header.dlen;
struct read_args *rargs=(struct read_args *)(argp->buff);
struct readahead_list *ralsp = (readahead_list *)(rargs+sizeof(read_args));
struct readahead_list *ralsp = (readahead_list *)(rargs+1);

// Return the pathid
//
Expand Down

0 comments on commit 103e70f

Please sign in to comment.