From: Arran Cudbard-Bell Date: Thu, 23 Jul 2015 04:08:13 +0000 (-0400) Subject: Formatting X-Git-Tag: release_3_0_10~294 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1c6cb4b1a85eefca45b7d8d68d2f892afdb5ea6;p=thirdparty%2Ffreeradius-server.git Formatting --- diff --git a/src/main/modules.c b/src/main/modules.c index 39f52ba31c8..476a12bff35 100644 --- a/src/main/modules.c +++ b/src/main/modules.c @@ -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;