Skip to content

Commit

Permalink
Fix XrdCl compilation errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
osschar committed Oct 10, 2019
1 parent df4fa81 commit 91b70fb
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/XrdCl/XrdClChannel.cc
Expand Up @@ -367,7 +367,7 @@ namespace XrdCl
//------------------------------------------------------------------------
void Channel::SetOnConnectHandler( Job *onConnJob )
{
pStreams[0]->SetOnConnectHandler( onConnJob );
pStream->SetOnConnectHandler( onConnJob );
}

//----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/XrdCl/XrdClInQueue.cc
Expand Up @@ -222,7 +222,7 @@ namespace XrdCl
{
if( it->second.second <= now )
{
it->second.first->OnStreamEvent( IncomingMsgHandler::Timeout,
uint8_t act = it->second.first->OnStreamEvent( IncomingMsgHandler::Timeout,
Status( stError, errOperationExpired ) );
auto next = it; ++next;
if( act & IncomingMsgHandler::RemoveHandler )
Expand Down
1 change: 1 addition & 0 deletions src/XrdCl/XrdClStream.cc
Expand Up @@ -34,6 +34,7 @@
#include "XrdCl/XrdClMonitor.hh"
#include "XrdCl/XrdClMessageUtils.hh"
#include "XrdCl/XrdClXRootDTransport.hh"
#include "XrdCl/XrdClXRootDMsgHandler.hh"
#include "XrdClAsyncSocketHandler.hh"

#include <sys/types.h>
Expand Down
2 changes: 1 addition & 1 deletion src/XrdCl/XrdClXRootDTransport.cc
Expand Up @@ -204,7 +204,7 @@ namespace XrdCl
protection(0),
protRespBody(0),
protRespSize(0),
strmSelector(0)
strmSelector(0),
encrypted(false)
{
sidManager = new SIDManager();
Expand Down
7 changes: 7 additions & 0 deletions src/XrdCl/XrdClXRootDTransport.hh
Expand Up @@ -234,6 +234,13 @@ namespace XrdCl
//------------------------------------------------------------------------
virtual Status GetSignature( Message *toSign, Message *&sign,
AnyObject &channelData );

//------------------------------------------------------------------------
//! Get signature for given message
//------------------------------------------------------------------------
virtual Status GetSignature( Message *toSign, Message *&sign,
XRootDChannelInfo *info );

//------------------------------------------------------------------------
//! Wait until the program can safely exit
//------------------------------------------------------------------------
Expand Down

0 comments on commit 91b70fb

Please sign in to comment.