diff --git a/clientgui/AccountManagerPropertiesPage.cpp b/clientgui/AccountManagerPropertiesPage.cpp index 543fa6e02e..d8f1ab843a 100644 --- a/clientgui/AccountManagerPropertiesPage.cpp +++ b/clientgui/AccountManagerPropertiesPage.cpp @@ -305,7 +305,7 @@ void CAccountManagerPropertiesPage::OnStateChange( CAccountManagerPropertiesPage SetProjectPropertiesSucceeded(false); bSuccessfulCondition = (!iReturnValue) && (ERR_FILE_NOT_FOUND == pc->error_num) || - (!iReturnValue) && (ERR_GETHOSTNAME == pc->error_num) || + (!iReturnValue) && (ERR_GETHOSTBYNAME == pc->error_num) || (!iReturnValue) && (ERR_XML_PARSE == pc->error_num); if (bSuccessfulCondition || CHECK_DEBUG_FLAG(WIZDEBUG_ERRPROJECTPROPERTIESURL)) { SetProjectPropertiesURLFailure(true); diff --git a/clientgui/ProjectPropertiesPage.cpp b/clientgui/ProjectPropertiesPage.cpp index f9fba3ab0f..e9ac2fdd88 100644 --- a/clientgui/ProjectPropertiesPage.cpp +++ b/clientgui/ProjectPropertiesPage.cpp @@ -441,7 +441,7 @@ void CProjectPropertiesPage::OnStateChange( CProjectPropertiesPageEvent& WXUNUSE SetProjectPropertiesSucceeded(false); bSuccessfulCondition = (!iReturnValue) && (ERR_FILE_NOT_FOUND == pc->error_num) || - (!iReturnValue) && (ERR_GETHOSTNAME == pc->error_num) || + (!iReturnValue) && (ERR_GETHOSTBYNAME == pc->error_num) || (!iReturnValue) && (ERR_XML_PARSE == pc->error_num); if (bSuccessfulCondition || CHECK_DEBUG_FLAG(WIZDEBUG_ERRPROJECTPROPERTIESURL)) { SetProjectPropertiesURLFailure(true);