From d17bb3d1132c66381e39f2b9a7cd5fce3fd0ad03 Mon Sep 17 00:00:00 2001 From: Michal Simon Date: Fri, 29 Jun 2018 15:22:51 +0200 Subject: [PATCH] [XrdCl] Use NEED2SECURE macro properly. --- src/XrdCl/XrdClXRootDTransport.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XrdCl/XrdClXRootDTransport.cc b/src/XrdCl/XrdClXRootDTransport.cc index cbc4c097bd1..56fcec51d74 100644 --- a/src/XrdCl/XrdClXRootDTransport.cc +++ b/src/XrdCl/XrdClXRootDTransport.cc @@ -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