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
3b15415
..
00fdd0c
100644
(file)
--- a/
src/match_timediff.c
+++ b/
src/match_timediff.c
@@
-25,6
+25,7
@@
**/
#include "collectd.h"
**/
#include "collectd.h"
+
#include "common.h"
#include "filter_chain.h"
#include "common.h"
#include "filter_chain.h"
@@
-49,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)
@@
-62,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;