Merge pull request #2012 from drshawnkwang/fix_issue-2011

Fixed bug where assignment '=' was used instead of comparison '=='.
This commit is contained in:
David Anderson 2017-08-04 12:10:30 -07:00 committed by GitHub
commit 406fe15121
1 changed files with 2 additions and 2 deletions

View File

@ -174,8 +174,8 @@ function state_num($result) {
}
if ($result->server_state == RESULT_SERVER_STATE_OVER
&& ($result->outcome == RESULT_OUTCOME_CLIENT_ERROR
|| $result->outcome = RESULT_OUTCOME_NO_REPLY
|| $result->outcome = RESULT_OUTCOME_CLIENT_DETACHED
|| $result->outcome == RESULT_OUTCOME_NO_REPLY
|| $result->outcome == RESULT_OUTCOME_CLIENT_DETACHED
)
) {
return STATE_ERROR;