*** empty log message ***

svn path=/trunk/boinc/; revision=9718
This commit is contained in:
Rom Walton 2006-03-23 21:43:33 +00:00
parent e5b51c247a
commit f5678e80cd
3 changed files with 9 additions and 0 deletions

View File

@ -3164,8 +3164,13 @@ Rom 23 Mar 2006
boinc_exit(ERR_ABORTED_VIA_GUI).
- Remove a duplicated class identifier so that the manager will
with g++ 4.1
- Bug Fix: Treat 301 and 302 http status codes as a
get_project_config.php error so that the invalid project page
comes up, instead of the unavailable page.
api/
boinc_api.C
clientgui/
BOINCTaskBar.h
AccountManagerPropertiesPage.cpp
ProjectPropertiesPage.cpp

View File

@ -307,6 +307,8 @@ void CAccountManagerPropertiesPage::OnStateChange( CAccountManagerPropertiesPage
SetProjectPropertiesSucceeded(false);
bSuccessfulCondition =
(!iReturnValue) && (HTTP_STATUS_NOT_FOUND == pc->error_num) ||
(!iReturnValue) && (HTTP_STATUS_MOVED_PERM == pc->error_num) ||
(!iReturnValue) && (HTTP_STATUS_MOVED_TEMP == pc->error_num) ||
(!iReturnValue) && (ERR_GETHOSTBYNAME == pc->error_num) ||
(!iReturnValue) && (ERR_XML_PARSE == pc->error_num);
if (bSuccessfulCondition || CHECK_DEBUG_FLAG(WIZDEBUG_ERRPROJECTPROPERTIESURL)) {

View File

@ -445,6 +445,8 @@ void CProjectPropertiesPage::OnStateChange( CProjectPropertiesPageEvent& event )
SetProjectPropertiesSucceeded(false);
bSuccessfulCondition =
(!iReturnValue) && (HTTP_STATUS_NOT_FOUND == pc->error_num) ||
(!iReturnValue) && (HTTP_STATUS_MOVED_PERM == pc->error_num) ||
(!iReturnValue) && (HTTP_STATUS_MOVED_TEMP == pc->error_num) ||
(!iReturnValue) && (ERR_GETHOSTBYNAME == pc->error_num) ||
(!iReturnValue) && (ERR_XML_PARSE == pc->error_num);
if (bSuccessfulCondition || CHECK_DEBUG_FLAG(WIZDEBUG_ERRPROJECTPROPERTIESURL)) {