Logic error fix

This commit is contained in:
Scott Giese
2020-08-06 18:50:31 -05:00
parent 7943353a2a
commit da384d6f49

View File

@@ -1174,7 +1174,7 @@ HTTPRepository::failure() const
void HTTPRepoPrivate::failedToGetRootIndex(HTTPRepository::ResultCode st)
{
if (st == HTTPRepository::REPO_ERROR_FILE_NOT_FOUND) {
status == HTTPRepository::REPO_ERROR_NOT_FOUND;
status = HTTPRepository::REPO_ERROR_NOT_FOUND;
} else {
SG_LOG(SG_TERRASYNC, SG_WARN, "Failed to get root of repo:" << baseUrl << " " << st);
status = st;