Commit e9bb196a authored by Volodymyr Yurchenko's avatar Volodymyr Yurchenko
Browse files

Rename ambiguous variable in TJAlien::Connect

parent 38f14d03
...@@ -43,14 +43,14 @@ TJAlien::TJAlien (const char* gridUrl, const char* uId, const char* passwd, ...@@ -43,14 +43,14 @@ TJAlien::TJAlien (const char* gridUrl, const char* uId, const char* passwd,
void TJAlien::Connect() void TJAlien::Connect()
{ {
TString oldfPwd(fPwd); TString oldfPwd(fPwd);
int connection_flag = connection.CreateConnection(); int connection_mode = connection.CreateConnection();
if (connection_flag == -1) if (connection_mode == -1)
{ {
// Failed to connect // Failed to connect
// TJAlienConnectionManager will produce an error message // TJAlienConnectionManager will produce an error message
return; return;
} }
else if (connection_flag == 1) else if (connection_mode == 1)
{ {
// Connected to JCentral with full grid certificate // Connected to JCentral with full grid certificate
// Immediately ask for the token // Immediately ask for the token
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment