cleaned up whitespace
This commit is contained in:
@@ -46,7 +46,6 @@ plugin_t *tnc_imc_plugin_create()
|
|||||||
tnc_imc_plugin_t *this;
|
tnc_imc_plugin_t *this;
|
||||||
imc_t *imc;
|
imc_t *imc;
|
||||||
|
|
||||||
|
|
||||||
INIT(this,
|
INIT(this,
|
||||||
.plugin = {
|
.plugin = {
|
||||||
.destroy = _destroy,
|
.destroy = _destroy,
|
||||||
@@ -64,15 +63,15 @@ plugin_t *tnc_imc_plugin_create()
|
|||||||
if (imc)
|
if (imc)
|
||||||
{
|
{
|
||||||
/* Initialize the module */
|
/* Initialize the module */
|
||||||
if (imc->initialize(next_id, TNC_IFIMC_VERSION_1, TNC_IFIMC_VERSION_1,
|
if (imc->initialize(next_id, TNC_IFIMC_VERSION_1, TNC_IFIMC_VERSION_1,
|
||||||
&version) != TNC_RESULT_SUCCESS)
|
&version) != TNC_RESULT_SUCCESS)
|
||||||
{
|
{
|
||||||
DBG1(DBG_TNC, "could not initialize IMC '%s'\n",
|
DBG1(DBG_TNC, "could not initialize IMC '%s'\n",
|
||||||
imc->get_name(imc));
|
imc->get_name(imc));
|
||||||
imc->destroy(imc);
|
imc->destroy(imc);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
charon->imcs->insert_last(charon->imcs, imc);
|
charon->imcs->insert_last(charon->imcs, imc);
|
||||||
next_id++;
|
next_id++;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,15 +61,15 @@ plugin_t *tnc_imv_plugin_create()
|
|||||||
if (imv)
|
if (imv)
|
||||||
{
|
{
|
||||||
/* Initialize the module */
|
/* Initialize the module */
|
||||||
if (imv->initialize(next_id, TNC_IFIMV_VERSION_1, TNC_IFIMV_VERSION_1,
|
if (imv->initialize(next_id, TNC_IFIMV_VERSION_1, TNC_IFIMV_VERSION_1,
|
||||||
&version) != TNC_RESULT_SUCCESS)
|
&version) != TNC_RESULT_SUCCESS)
|
||||||
{
|
{
|
||||||
DBG1(DBG_TNC, "could not initialize IMV '%s'\n",
|
DBG1(DBG_TNC, "could not initialize IMV '%s'\n",
|
||||||
imv->get_name(imv));
|
imv->get_name(imv));
|
||||||
imv->destroy(imv);
|
imv->destroy(imv);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
charon->imvs->insert_last(charon->imvs, imv);
|
charon->imvs->insert_last(charon->imvs, imv);
|
||||||
next_id++;
|
next_id++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user