diff --git a/proofd/src/XrdProofWorker.cxx b/proofd/src/XrdProofWorker.cxx index ca7425989be95494e31b95b060e5686d0a961f71..cf343049fcac87de7121b29a254c706ca9473378 100644 --- a/proofd/src/XrdProofWorker.cxx +++ b/proofd/src/XrdProofWorker.cxx @@ -223,7 +223,7 @@ int XrdProofWorker::GetNActiveSessions() std::list<XrdProofServProxy *>::iterator iter; for (iter = fProofServs.begin(); iter != fProofServs.end(); ++iter) { if (*iter) { - if ((*iter)->Status() == kXPD_running); + if ((*iter)->Status() == kXPD_running) myRunning++; } } diff --git a/rpdutils/src/rpdutils.cxx b/rpdutils/src/rpdutils.cxx index f0f6ec3a861b29fdcd0ff81197fd0fd11a8b37ae..c5ccb1a5dba565893222e8893d55753b36250d5a 100644 --- a/rpdutils/src/rpdutils.cxx +++ b/rpdutils/src/rpdutils.cxx @@ -3916,7 +3916,7 @@ int RpdGlobusAuth(const char *sstr) Subj, lSubj, strlen(Subj)); if (Subj) delete[] Subj; - if (gClientProtocol < 17) { + if (gClientProtocol < 17) { // GlbClientName will be determined from the security context ... // Now wait for client to communicate the issuer name of the certificate ... char *answer = new char[20]; @@ -4580,7 +4580,7 @@ int RpdUser(const char *sstr) // Check /etc/hosts.equiv and/or $HOME/.rhosts int errheq = 0; - if (gCheckHostsEquiv && ruser && strlen(ruser)) { + if (gCheckHostsEquiv && strlen(ruser)) { if (RpdCheckHostsEquiv(gOpenHost.c_str(),ruser,user,errheq)) { auth = 3; strcpy(gUser, user);