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
/
match_timediff.c
diff --git
a/src/match_timediff.c
b/src/match_timediff.c
index
9e08021
..
00fdd0c
100644
(file)
--- a/
src/match_timediff.c
+++ b/
src/match_timediff.c
@@
-50,7
+50,6
@@
static int mt_create (const oconfig_item_t *ci, void **user_data) /* {{{ */
{
mt_match_t *m;
int status;
{
mt_match_t *m;
int status;
- int i;
m = calloc (1, sizeof (*m));
if (m == NULL)
m = calloc (1, sizeof (*m));
if (m == NULL)
@@
-63,7
+62,7
@@
static int mt_create (const oconfig_item_t *ci, void **user_data) /* {{{ */
m->past = 0;
status = 0;
m->past = 0;
status = 0;
- for (i = 0; i < ci->children_num; i++)
+ for (i
nt i
= 0; i < ci->children_num; i++)
{
oconfig_item_t *child = ci->children + i;
{
oconfig_item_t *child = ci->children + i;