diff options
| author | Martin Willi <martin@revosec.ch> | 2011-02-08 10:56:06 +0100 |
|---|---|---|
| committer | Martin Willi <martin@revosec.ch> | 2011-02-08 11:03:10 +0100 |
| commit | 6ccb23e80b821ba89bcabbe0fde00acdfe5f8a67 (patch) | |
| tree | 1ec40c5158ce486d3444a840bda598748e8274ed /src/libcharon/plugins/tnc_imc | |
| parent | c6c7c7001cd0e53a81464a6376cad3bcf857cdd0 (diff) | |
| download | strongswan-6ccb23e80b821ba89bcabbe0fde00acdfe5f8a67.tar.bz2 strongswan-6ccb23e80b821ba89bcabbe0fde00acdfe5f8a67.tar.xz | |
Whitespace cleanups in tnc code
Diffstat (limited to 'src/libcharon/plugins/tnc_imc')
| -rw-r--r-- | src/libcharon/plugins/tnc_imc/tnc_imc_manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/tnc_imc/tnc_imc_manager.c b/src/libcharon/plugins/tnc_imc/tnc_imc_manager.c index ea4dd2d09..aa20534f5 100644 --- a/src/libcharon/plugins/tnc_imc/tnc_imc_manager.c +++ b/src/libcharon/plugins/tnc_imc/tnc_imc_manager.c @@ -61,7 +61,7 @@ METHOD(imc_manager_t, add, bool, this->imcs->insert_last(this->imcs, imc); this->next_imc_id++; - if (imc->provide_bind_function(imc->get_id(imc), TNC_TNCC_BindFunction) + if (imc->provide_bind_function(imc->get_id(imc), TNC_TNCC_BindFunction) != TNC_RESULT_SUCCESS) { DBG1(DBG_TNC, "IMC \"%s\" failed to obtain bind function", @@ -229,7 +229,7 @@ imc_manager_t* tnc_imc_manager_create(void) .receive_message = _receive_message, .batch_ending = _batch_ending, .destroy = _destroy, - }, + }, .imcs = linked_list_create(), .next_imc_id = 1, ); |
