Skip to content

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Jun 21, 2019
1 parent 82cbde5 commit e0279da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Xrd/XrdConfig.cc
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,6 @@ int XrdConfig::Setup(char *dfltp, char *libProt)
{
XrdConfigProt *cp;
int i, xport, wsz, arbNet, the_Opts, the_Blen;
bool needTLS = false;

// Establish the FD limit
//
Expand Down Expand Up @@ -1055,7 +1054,7 @@ int XrdConfig::Setup(char *dfltp, char *libProt)
"requires TLS but TLS is not configured!");
return 1;
}
xport = PortTLS; needTLS = true;
xport = PortTLS;
} else xport = PortTCP;
ProtInfo.Port = (cp->port < 0 ? xport : cp->port);
XrdOucEnv::Export("XRDPORT", ProtInfo.Port);
Expand Down

0 comments on commit e0279da

Please sign in to comment.