mirror of https://github.com/BOINC/boinc.git
- client: if we're using an acct mgr,
and we're attached to a project manually (not via acct mgr) and the acct mgr tells us to detach from it, don't. svn path=/trunk/boinc/; revision=22930
This commit is contained in:
parent
795e89dbf5
commit
d4f00d4467
|
@ -223,3 +223,11 @@ David 19 Jan 2011
|
|||
rr_sim.cpp
|
||||
app_control.cpp
|
||||
cpu_sched.cpp
|
||||
|
||||
David 19 Jan 2011
|
||||
- client: if we're using an acct mgr,
|
||||
and we're attached to a project manually (not via acct mgr)
|
||||
and the acct mgr tells us to detach from it, don't.
|
||||
|
||||
client/
|
||||
acct_mgr.cpp
|
||||
|
|
|
@ -481,7 +481,9 @@ void ACCT_MGR_OP::handle_reply(int http_op_retval) {
|
|||
pp = gstate.lookup_project(acct.url.c_str());
|
||||
if (pp) {
|
||||
if (acct.detach) {
|
||||
gstate.detach_project(pp);
|
||||
if (pp->attached_via_acct_mgr) {
|
||||
gstate.detach_project(pp);
|
||||
}
|
||||
} else {
|
||||
// BAM! leaves authenticator blank if our request message
|
||||
// had the current account info
|
||||
|
|
Loading…
Reference in New Issue