]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
cleaned up whitespace
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 4 Nov 2010 15:19:39 +0000 (16:19 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 9 Nov 2010 19:43:50 +0000 (20:43 +0100)
src/libcharon/plugins/tnc_imc/tnc_imc.c
src/libcharon/plugins/tnc_imc/tnc_imc_plugin.c
src/libcharon/plugins/tnc_imv/tnc_imv.c
src/libcharon/plugins/tnc_imv/tnc_imv_plugin.c
src/libcharon/tnc/imc/imc.h
src/libcharon/tnc/imv/imv.h

index 6984e580ec382677b988cc05a3e49479eb32b7ea..60f907a8d3f71be7e556ea23e581ce75aa6c1b3f 100644 (file)
@@ -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");
index 8348c5da9ba2b6dd96f7b74f0241b51226ab4dd0..1feedf93adfc33f8e05738300f23925eebfa7814 100644 (file)
@@ -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++;
                }
index 6982bd37eb64cf8cf877391fad10931aeee1e96b..27af2ace09ae47c5150703aba2aed46dbe4d83ec 100644 (file)
@@ -99,7 +99,7 @@ imv_t* tnc_imv_create(char *name, char *filename, TNC_IMVID id)
                free(this);
                return NULL;
        }
-    this->public.receive_message = 
+    this->public.receive_message =
                                                dlsym(handle, "TNC_IMV_ReceiveMessage");
     this->public.batch_ending =
                                                dlsym(handle, "TNC_IMV_BatchEnding");
index 5a43ad82b001ccd1e94482748654e35da42edc48..34f5b761921471d8e07dd78b6952a1f879a1e8c2 100644 (file)
@@ -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++;
                }
index a4bef61f97fe9529e19455a026b6211a82dfadbd..8c03ee6b9d0a541a67da2db1b7e5f229fdfab9b4 100644 (file)
@@ -58,7 +58,7 @@ struct imc_t {
 
        /**
         * The TNC Client calls this function to indicate that an Integrity Check
-        * Handshake is beginning and solicit messages from IMCs for the first batch. 
+        * Handshake is beginning and solicit messages from IMCs for the first batch.
         *
         * @param imcID                         IMC ID assigned by TNCC
         * @param connectionID          Network connection ID assigned by TNCC
index 8b598d5000de47497cda1d60df377a708a7e8e0e..6d4769f7dea63208156aff348c32ea9330cc1687 100644 (file)
@@ -33,7 +33,7 @@ struct imv_t {
         * identifier that the IMV must use when calling TNC Server callback functions.
         *
         * @param imvID                         IMV ID assigned by TNCS
-        * @param minVersion            Minimum API version supported 
+        * @param minVersion            Minimum API version supported
         * @param maxVersion            Maximum API version supported by TNCS
         * @param OutActualVersion      Mutually supported API version number
         * @result                                      TNC result code