Skip to content

Commit

Permalink
Fix -Wmisleading-indentation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ellert committed May 28, 2020
1 parent d60951b commit d24f77c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/Xrd/XrdLink.cc
Expand Up @@ -270,7 +270,7 @@ XrdNetAddr *XrdLink::NetAddr() const {return linkXQ.NetAddr();}
int XrdLink::Peek(char *Buff, int Blen, int timeout)
{
if (isTLS) return linkXQ.TLS_Peek(Buff, Blen, timeout);
return linkXQ.Peek (Buff, Blen, timeout);
else return linkXQ.Peek (Buff, Blen, timeout);
}

/******************************************************************************/
Expand All @@ -280,15 +280,15 @@ int XrdLink::Peek(char *Buff, int Blen, int timeout)
int XrdLink::Recv(char *Buff, int Blen)
{
if (isTLS) return linkXQ.TLS_Recv(Buff, Blen);
return linkXQ.Recv (Buff, Blen);
else return linkXQ.Recv (Buff, Blen);
}

/******************************************************************************/

int XrdLink::Recv(char *Buff, int Blen, int timeout)
{
if (isTLS) return linkXQ.TLS_Recv(Buff, Blen, timeout);
return linkXQ.Recv (Buff, Blen, timeout);
else return linkXQ.Recv (Buff, Blen, timeout);
}

/******************************************************************************/
Expand All @@ -298,7 +298,7 @@ int XrdLink::Recv(char *Buff, int Blen, int timeout)
int XrdLink::RecvAll(char *Buff, int Blen, int timeout)
{
if (isTLS) return linkXQ.TLS_RecvAll(Buff, Blen, timeout);
return linkXQ.RecvAll (Buff, Blen, timeout);
else return linkXQ.RecvAll (Buff, Blen, timeout);
}

/******************************************************************************/
Expand All @@ -317,7 +317,7 @@ bool XrdLink::Register(const char *hName)
int XrdLink::Send(const char *Buff, int Blen)
{
if (isTLS) return linkXQ.TLS_Send(Buff, Blen);
return linkXQ.Send (Buff, Blen);
else return linkXQ.Send (Buff, Blen);
}

/******************************************************************************/
Expand All @@ -331,7 +331,7 @@ int XrdLink::Send(const struct iovec *iov, int iocnt, int bytes)
// Execute the send
//
if (isTLS) return linkXQ.TLS_Send(iov, iocnt, bytes);
return linkXQ.Send (iov, iocnt, bytes);
else return linkXQ.Send (iov, iocnt, bytes);
}

/******************************************************************************/
Expand All @@ -348,7 +348,7 @@ int XrdLink::Send(const sfVec *sfP, int sfN)
// Do the send
//
if (isTLS) return linkXQ.TLS_Send(sfP, sfN);
return linkXQ.Send (sfP, sfN);
else return linkXQ.Send (sfP, sfN);
}

/******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion src/XrdSsi/XrdSsiClient.cc
Expand Up @@ -149,7 +149,7 @@ XrdSsiService *XrdSsiClientProvider::GetService(XrdSsiErrInfo &eInfo,
if (!dsTTLSet) clEnvP->PutInt("DataServerTTL", maxTMO);
if (!reqTOSet) clEnvP->PutInt("RequestTimeout", maxTMO);
if (!strTOSet) clEnvP->PutInt("StreamTimeout", maxTMO);
clEnvP->PutInt("ParallelEvtLoop",maxPEL);
clEnvP->PutInt("ParallelEvtLoop",maxPEL);
initDone = true;
clMutex.UnLock();
}
Expand Down

0 comments on commit d24f77c

Please sign in to comment.