Skip to content

Commit

Permalink
[XrdCl] Fix extended-open handler in FileOperations.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Jan 30, 2020
1 parent db9812d commit 5bed384
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/XrdCl/XrdClFile.hh
Expand Up @@ -407,10 +407,10 @@ namespace XrdCl
//! @return status of the operation
//------------------------------------------------------------------------
XRootDStatus WriteV( uint64_t offset,
const struct iovec *iov,
int iovcnt,
ResponseHandler *handler,
uint16_t timeout = 0 );
const struct iovec *iov,
int iovcnt,
ResponseHandler *handler,
uint16_t timeout = 0 );

//------------------------------------------------------------------------
//! Write scattered buffers in one operation - sync
Expand All @@ -424,9 +424,9 @@ namespace XrdCl
//! @return status of the operation
//------------------------------------------------------------------------
XRootDStatus WriteV( uint64_t offset,
const struct iovec *iov,
int iovcnt,
uint16_t timeout = 0 );
const struct iovec *iov,
int iovcnt,
uint16_t timeout = 0 );

//------------------------------------------------------------------------
//! Performs a custom operation on an open file, server implementation
Expand Down
2 changes: 1 addition & 1 deletion src/XrdCl/XrdClFileOperations.hh
Expand Up @@ -131,7 +131,7 @@ namespace XrdCl
inline ResponseHandler* Create( std::function<void( XRootDStatus&,
StatInfo& )> func )
{
return new ExOpenFuncWrapper( this->file, func );
return make_finalized( new ExOpenFuncWrapper( this->file, func ) );
}

//--------------------------------------------------------------------
Expand Down

0 comments on commit 5bed384

Please sign in to comment.