*** empty log message ***

svn path=/trunk/boinc/; revision=9527
This commit is contained in:
Rom Walton 2006-02-22 18:20:25 +00:00
parent 1f04ea3d29
commit 2c0d202201
3 changed files with 16 additions and 5 deletions

View File

@ -2212,3 +2212,16 @@ Charlie 22 Feb 2006
mac_build/
HowToBuildBOINC_XCode.rtf
setupForBOINC.sh
Rom 22 Feb 2005
- Bug Fix: ACCOUNT_OUT::parse should not return after encountering the
error_num element.
- Bug Fix: Make sure we are looking at the ACCOUNT_OUT messages array
instead of the attach to project response.
clientgui/
ProjectProcessingPage.cpp
lib/
gui_rpc_client_ops.C

View File

@ -470,8 +470,8 @@ void CProjectProcessingPage::OnStateChange( CProjectProcessingPageEvent& event )
pWAP->m_CompletionErrorPage->m_pServerMessagesCtrl->SetLabel(strBuffer);
} else if (BOINC_SUCCESS != ao->error_num) {
strBuffer = pWAP->m_CompletionErrorPage->m_pServerMessagesCtrl->GetLabel();
for (i=0; i<reply.messages.size(); i++) {
strBuffer += wxString(reply.messages[i].c_str()) + wxString(wxT("\n"));
for (i=0; i<ao->messages.size(); i++) {
strBuffer += wxString(ao->messages[i].c_str()) + wxString(wxT("\n"));
}
pWAP->m_CompletionErrorPage->m_pServerMessagesCtrl->SetLabel(strBuffer);
}

View File

@ -878,12 +878,10 @@ ACCOUNT_OUT::~ACCOUNT_OUT() {
int ACCOUNT_OUT::parse(MIOFILE& in) {
char buf[256];
std::string msg;
clear();
while (in.fgets(buf, 256)) {
if (match_tag(buf, "</account_out>")) return 0;
else if (parse_int(buf, "<error_num>", error_num)) return error_num;
else if (parse_int(buf, "<error_num>", error_num)) continue;
else if (parse_str(buf, "<authenticator>", authenticator)) continue;
else if (parse_str(buf, "<message>", msg)) {
messages.push_back(msg);