projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d3906a
)
write_kafka: Fix misleading indentation
author
Sebastian Harl
<sh@tokkee.org>
Mon, 15 Aug 2016 18:59:05 +0000
(20:59 +0200)
committer
Marc 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
patch
|
blob
|
history
diff --git
a/src/write_kafka.c
b/src/write_kafka.c
index
775e2e0
..
424acac
100644
(file)
--- a/
src/write_kafka.c
+++ b/
src/write_kafka.c
@@
-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);