mirror of https://github.com/BOINC/boinc.git
- client: fix crashing bug when account manager returns
new project w/ "no more work" flag set svn path=/trunk/boinc/; revision=21787
This commit is contained in:
parent
d5e035456d
commit
0e4e823b4e
|
@ -4460,3 +4460,10 @@ David 21 June 2010
|
|||
wrapper.cpp
|
||||
multi_thread/
|
||||
multi_thread.cpp
|
||||
|
||||
David 22 June 2010
|
||||
- client: fix crashing bug when account manager returns
|
||||
new project w/ "no more work" flag set
|
||||
|
||||
client/
|
||||
acct_mgr.cpp
|
||||
|
|
|
@ -490,7 +490,15 @@ void ACCT_MGR_OP::handle_reply(int http_op_retval) {
|
|||
acct.url.c_str(), acct.authenticator.c_str(), "", true
|
||||
);
|
||||
if (acct.dont_request_more_work.present) {
|
||||
pp->dont_request_more_work = acct.dont_request_more_work.value;
|
||||
pp = gstate.lookup_project(acct.url.c_str());
|
||||
if (pp) {
|
||||
pp->dont_request_more_work = acct.dont_request_more_work.value;
|
||||
} else {
|
||||
msg_printf(NULL, MSG_INTERNAL_ERROR,
|
||||
"Project not found: %s",
|
||||
acct.url.c_str()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue