From 720c6a184adf084d38558cf83276a9a45ead22a8 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 23 Jul 2016 14:59:38 +0200 Subject: [PATCH] log_logstash plugin: fix indentation --- src/log_logstash.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/log_logstash.c b/src/log_logstash.c index 45aa86d1..3cf636e5 100644 --- a/src/log_logstash.c +++ b/src/log_logstash.c @@ -64,12 +64,12 @@ static int log_logstash_config (const char *key, const char *value) if (0 == strcasecmp (key, "LogLevel")) { log_level = parse_log_severity(value); - if (log_level < 0) { - log_level = LOG_INFO; - ERROR("log_logstash: invalid loglevel [%s] defaulting to 'info'", - value); - return 1; - } + if (log_level < 0) { + log_level = LOG_INFO; + ERROR("log_logstash: invalid loglevel [%s] defaulting to 'info'", + value); + return 1; + } } else if (0 == strcasecmp (key, "File")) { sfree (log_file); -- 2.11.0