]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Formatting
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 23 Jul 2015 04:08:13 +0000 (00:08 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 24 Jul 2015 12:33:05 +0000 (08:33 -0400)
src/main/modules.c

index 39f52ba31c8e7b6583b52a2c84fad7235b76d31e..476a12bff3571d0e98a5f91a7184bbb41065b2a4 100644 (file)
@@ -251,9 +251,7 @@ lt_dlhandle lt_dlopenext(char const *name)
                 *      Don't overwrite the previous message
                 *      It's likely to contain a better error.
                 */
-               if (!radlib_dir) {
-                       fr_strerror_printf("%s", dlerror());
-               }
+               if (!radlib_dir) fr_strerror_printf("%s", dlerror());
                return NULL;
        }
        return handle;
@@ -642,7 +640,7 @@ static module_instance_t *module_bootstrap(CONF_SECTION *cs)
                talloc_free(node);
                return NULL;
        }
-       
+
        cf_log_module(cs, "Loading module \"%s\" from file %s", node->name,
                      cf_section_filename(cs));
 
@@ -741,7 +739,7 @@ module_instance_t *module_instantiate(CONF_SECTION *modules, char const *askedna
                 */
                if ((node->entry->module->instantiate)(node->cs, node->insthandle) < 0) {
                        cf_log_err_cs(node->cs, "Instantiation failed for module \"%s\"", node->name);
-               
+
                        return NULL;
                }
        }
@@ -759,7 +757,7 @@ module_instance_t *module_instantiate(CONF_SECTION *modules, char const *askedna
                 *      Initialize the mutex.
                 */
                pthread_mutex_init(node->mutex, NULL);
-       }       
+       }
 #endif
 
        node->instantiated = true;