Skip to content

Commit

Permalink
Fix copy/paste error in option parsing.
Browse files Browse the repository at this point in the history
  • Loading branch information
bbockelm committed Feb 8, 2018
1 parent c3c1913 commit fb536d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/configure.cpp
Expand Up @@ -120,11 +120,11 @@ bool TPCHandler::Configure(const char *configfn, XrdOucEnv *myEnv)
}
if (!strcmp("1", val) || !strcasecmp("yes", val) || !strcasecmp("true", val)) {
m_desthttps = true;
} else if (!strcmp("1", val) || !strcasecmp("yes", val) || !strcasecmp("true", val)) {
} else if (!strcmp("0", val) || !strcasecmp("no", val) || !strcasecmp("false", val)) {
m_desthttps = false;
} else {
Config.Close();
m_log.Emsg("Config", "https.dests value is invalid", val);
m_log.Emsg("Config", "https.desthttps value is invalid", val);
return false;
}
} else if (!strcmp("http.cadir", val)) {
Expand Down

0 comments on commit fb536d9

Please sign in to comment.