android: Fix implementation of change_state() method in Android IMC

The signature was changed with 731e043c8e ("libimcv: Reset of IMC state for
new measurement cycle").
This commit is contained in:
Tobias Brunner 2018-09-21 10:55:34 +02:00
parent 1dd382b888
commit 7a6426082a
1 changed files with 5 additions and 1 deletions

View File

@ -116,10 +116,14 @@ METHOD(imc_state_t, get_contracts, seg_contract_manager_t*,
return this->contracts;
}
METHOD(imc_state_t, change_state, void,
METHOD(imc_state_t, change_state, TNC_ConnectionState,
private_imc_android_state_t *this, TNC_ConnectionState new_state)
{
TNC_ConnectionState old;
old = this->state;
this->state = new_state;
return old;
}
METHOD(imc_state_t, set_result, void,