Skip to content

Commit

Permalink
[XrdHttp] Guard multi-line macros with brackets.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Jun 26, 2020
1 parent 98222f7 commit a33af60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/XrdHttp/XrdHttpProtocol.cc
Expand Up @@ -2005,7 +2005,7 @@ int XrdHttpProtocol::xsslverifydepth(XrdOucStream & Config) {
//
sslverifydepth = atoi(val);

if (xrdctxVer) HTTPS_ALERT("verifydepth","tlsca",false);
if (xrdctxVer){ HTTPS_ALERT("verifydepth","tlsca",false); }
return 0;
}

Expand Down Expand Up @@ -2141,7 +2141,7 @@ int XrdHttpProtocol::xsslcafile(XrdOucStream & Config) {
if (sslcafile) free(sslcafile);
sslcafile = strdup(val);

if (xrdctxVer) HTTPS_ALERT("cafile","tlsca",false);
if (xrdctxVer){ HTTPS_ALERT("cafile","tlsca",false); }
return 0;
}

Expand Down Expand Up @@ -2688,7 +2688,7 @@ int XrdHttpProtocol::xsslcadir(XrdOucStream & Config) {
if (sslcadir) free(sslcadir);
sslcadir = strdup(val);

if (xrdctxVer) HTTPS_ALERT("cadir","tlsca",false);
if (xrdctxVer){ HTTPS_ALERT("cadir","tlsca",false); }
return 0;
}

Expand Down

0 comments on commit a33af60

Please sign in to comment.