Logic error fix
This commit is contained in:
@@ -1174,7 +1174,7 @@ HTTPRepository::failure() const
|
|||||||
void HTTPRepoPrivate::failedToGetRootIndex(HTTPRepository::ResultCode st)
|
void HTTPRepoPrivate::failedToGetRootIndex(HTTPRepository::ResultCode st)
|
||||||
{
|
{
|
||||||
if (st == HTTPRepository::REPO_ERROR_FILE_NOT_FOUND) {
|
if (st == HTTPRepository::REPO_ERROR_FILE_NOT_FOUND) {
|
||||||
status == HTTPRepository::REPO_ERROR_NOT_FOUND;
|
status = HTTPRepository::REPO_ERROR_NOT_FOUND;
|
||||||
} else {
|
} else {
|
||||||
SG_LOG(SG_TERRASYNC, SG_WARN, "Failed to get root of repo:" << baseUrl << " " << st);
|
SG_LOG(SG_TERRASYNC, SG_WARN, "Failed to get root of repo:" << baseUrl << " " << st);
|
||||||
status = st;
|
status = st;
|
||||||
|
|||||||
Reference in New Issue
Block a user