cleaned up whitespace
This commit is contained in:
@@ -86,7 +86,7 @@ imc_t* tnc_imc_create(char* name, char *filename, TNC_IMCID id)
|
||||
|
||||
/* we do not store or free dlopen() handles, leak_detective requires
|
||||
* the modules to keep loaded until leak report */
|
||||
|
||||
|
||||
this->public.initialize = dlsym(handle, "TNC_IMC_Initialize");
|
||||
if (!this->public.initialize)
|
||||
{
|
||||
@@ -105,7 +105,7 @@ imc_t* tnc_imc_create(char* name, char *filename, TNC_IMCID id)
|
||||
free(this);
|
||||
return NULL;
|
||||
}
|
||||
this->public.receive_message =
|
||||
this->public.receive_message =
|
||||
dlsym(handle, "TNC_IMC_ReceiveMessage");
|
||||
this->public.batch_ending =
|
||||
dlsym(handle, "TNC_IMC_BatchEnding");
|
||||
|
||||
@@ -45,7 +45,6 @@ plugin_t *tnc_imc_plugin_create()
|
||||
char *tnc_config, *pref_lang, *name, *filename;
|
||||
tnc_imc_plugin_t *this;
|
||||
imc_t *imc;
|
||||
|
||||
|
||||
INIT(this,
|
||||
.plugin = {
|
||||
@@ -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++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user