mirror of https://github.com/BOINC/boinc.git
Merge pull request #2012 from drshawnkwang/fix_issue-2011
Fixed bug where assignment '=' was used instead of comparison '=='.
This commit is contained in:
commit
406fe15121
|
@ -174,8 +174,8 @@ function state_num($result) {
|
||||||
}
|
}
|
||||||
if ($result->server_state == RESULT_SERVER_STATE_OVER
|
if ($result->server_state == RESULT_SERVER_STATE_OVER
|
||||||
&& ($result->outcome == RESULT_OUTCOME_CLIENT_ERROR
|
&& ($result->outcome == RESULT_OUTCOME_CLIENT_ERROR
|
||||||
|| $result->outcome = RESULT_OUTCOME_NO_REPLY
|
|| $result->outcome == RESULT_OUTCOME_NO_REPLY
|
||||||
|| $result->outcome = RESULT_OUTCOME_CLIENT_DETACHED
|
|| $result->outcome == RESULT_OUTCOME_CLIENT_DETACHED
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
return STATE_ERROR;
|
return STATE_ERROR;
|
||||||
|
|
Loading…
Reference in New Issue