Skip to content

Commit

Permalink
[XrdCl] Use NEED2SECURE macro properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Jun 29, 2018
1 parent 3ab3ce1 commit d17bb3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdCl/XrdClXRootDTransport.cc
Expand Up @@ -1219,7 +1219,7 @@ namespace XrdCl
{
SecurityRequest *newreq = 0;
// check if we have to secure the request in the first place
if( !NEED2SECURE ( info->protection )( *thereq ) ) return Status();
if( !( NEED2SECURE ( info->protection )( *thereq ) ) ) return Status();
// secure (sign/encrypt) the request
int rc = info->protection->Secure( newreq, *thereq, 0 );
// there was an error
Expand Down

0 comments on commit d17bb3d

Please sign in to comment.