mirror of https://github.com/BOINC/boinc.git
mgr: check if <create_account> RPC succeeded
The <create_account> RPC may fail. If the return value is not checked the Manager will continue as if the client accepted the command and created the account successfully. In reality the client returns some garbage account details.
This commit is contained in:
parent
c5e4eca3af
commit
881e1b0bc2
|
@ -436,7 +436,8 @@ void CProjectProcessingPage::OnStateChange( CProjectProcessingPageEvent& WXUNUSE
|
|||
!CHECK_CLOSINGINPROGRESS()
|
||||
) {
|
||||
if (ERR_RETRY == ao->error_num) {
|
||||
pDoc->rpc.create_account(*ai);
|
||||
retval = pDoc->rpc.create_account(*ai);
|
||||
if (retval) break;
|
||||
}
|
||||
|
||||
dtCurrentExecutionTime = wxDateTime::Now();
|
||||
|
|
Loading…
Reference in New Issue