write_kafka: Fix misleading indentation
authorSebastian Harl <sh@tokkee.org>
Mon, 15 Aug 2016 18:59:05 +0000 (20:59 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Mon, 15 Aug 2016 18:59:05 +0000 (20:59 +0200)
Reported by GCC-6 with the `-Werror=misleading-indentation` option.

Thanks for Lucas Nussbaum for reporting this issue!

Fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831194

src/write_kafka.c

index 775e2e0..424acac 100644 (file)
@@ -472,7 +472,7 @@ static int kafka_config(oconfig_item_t *ci) /* {{{ */
        }
     if (conf != NULL)
         rd_kafka_conf_destroy(conf);
-       return (0);
+    return (0);
  errout:
     if (conf != NULL)
         rd_kafka_conf_destroy(conf);