From f22abb4d1339fe55f5c10545de4b80fe3ac6aebe Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 3 Mar 2020 12:55:36 +0100 Subject: uncrustifying indentation --- src/main/test_plugin_load_multi.c | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'src/main/test_plugin_load_multi.c') diff --git a/src/main/test_plugin_load_multi.c b/src/main/test_plugin_load_multi.c index b7958f2..6b30390 100644 --- a/src/main/test_plugin_load_multi.c +++ b/src/main/test_plugin_load_multi.c @@ -37,15 +37,15 @@ testLoadPlugins () el1 = EXTRACTOR_plugin_add_defaults (EXTRACTOR_OPTION_DEFAULT_POLICY); el2 = EXTRACTOR_plugin_add_defaults (EXTRACTOR_OPTION_DEFAULT_POLICY); if ((NULL == el1) || (NULL == el2)) - { - fprintf (stderr, - "Failed to load default plugins!\n"); - if (NULL != el1) - EXTRACTOR_plugin_remove_all (el1); - if (NULL != el2) - EXTRACTOR_plugin_remove_all (el2); - return 1; - } + { + fprintf (stderr, + "Failed to load default plugins!\n"); + if (NULL != el1) + EXTRACTOR_plugin_remove_all (el1); + if (NULL != el2) + EXTRACTOR_plugin_remove_all (el2); + return 1; + } EXTRACTOR_plugin_remove_all (el1); EXTRACTOR_plugin_remove_all (el2); return 0; @@ -57,16 +57,17 @@ main (int argc, char *argv[]) { int ret = 0; - /* change environment to find 'extractor_test' plugin which is + /* change environment to find 'extractor_test' plugin which is not installed but should be in the current directory (or .libs) on 'make check' */ if (0 != putenv ("LIBEXTRACTOR_PREFIX=." PATH_SEPARATOR_STR ".libs/")) - fprintf (stderr, - "Failed to update my environment, plugin loading may fail: %s\n", - strerror (errno)); + fprintf (stderr, + "Failed to update my environment, plugin loading may fail: %s\n", + strerror (errno)); ret += testLoadPlugins (); ret += testLoadPlugins (); return ret; } + /* end of test_plugin_load_multi.c */ -- cgit v1.2.3