projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix typographical mistake in warning message
[collectd.git]
/
src
/
notify_nagios.c
diff --git
a/src/notify_nagios.c
b/src/notify_nagios.c
index
c53294b
..
57a034d
100644
(file)
--- a/
src/notify_nagios.c
+++ b/
src/notify_nagios.c
@@
-43,9
+43,7
@@
static char *nagios_command_file;
static int nagios_config (oconfig_item_t *ci) /* {{{ */
{
static int nagios_config (oconfig_item_t *ci) /* {{{ */
{
- int i;
-
- for (i = 0; i < ci->children_num; i++)
+ for (int i = 0; i < ci->children_num; i++)
{
oconfig_item_t *child = ci->children + i;
{
oconfig_item_t *child = ci->children + i;