* 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;
talloc_free(node);
return NULL;
}
-
+
cf_log_module(cs, "Loading module \"%s\" from file %s", node->name,
cf_section_filename(cs));
*/
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;
}
}
* Initialize the mutex.
*/
pthread_mutex_init(node->mutex, NULL);
- }
+ }
#endif
node->instantiated = true;