cleaned up whitespace

This commit is contained in:
Andreas Steffen
2010-11-09 20:43:50 +01:00
parent 1888dd6bd5
commit a816f1f588
6 changed files with 11 additions and 12 deletions
@@ -46,7 +46,6 @@ plugin_t *tnc_imc_plugin_create()
tnc_imc_plugin_t *this;
imc_t *imc;
INIT(this,
.plugin = {
.destroy = _destroy,
@@ -64,15 +63,15 @@ plugin_t *tnc_imc_plugin_create()
if (imc)
{
/* 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)
{
{
DBG1(DBG_TNC, "could not initialize IMC '%s'\n",
imc->get_name(imc));
imc->destroy(imc);
}
else
{
{
charon->imcs->insert_last(charon->imcs, imc);
next_id++;
}
@@ -61,15 +61,15 @@ plugin_t *tnc_imv_plugin_create()
if (imv)
{
/* 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)
{
{
DBG1(DBG_TNC, "could not initialize IMV '%s'\n",
imv->get_name(imv));
imv->destroy(imv);
}
else
{
{
charon->imvs->insert_last(charon->imvs, imv);
next_id++;
}