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
/
daemon
/
utils_match.c
diff --git
a/src/daemon/utils_match.c
b/src/daemon/utils_match.c
index
803656d
..
5273c90
100644
(file)
--- a/
src/daemon/utils_match.c
+++ b/
src/daemon/utils_match.c
@@
-324,7
+324,6
@@
int match_apply (cu_match_t *obj, const char *str)
regmatch_t re_match[32];
char *matches[32] = { 0 };
size_t matches_num;
- size_t i;
if ((obj == NULL) || (str == NULL))
return (-1);
@@
-376,7
+375,7
@@
int match_apply (cu_match_t *obj, const char *str)
}
}
- for (i = 0; i < matches_num; i++)
+ for (
size_t
i = 0; i < matches_num; i++)
{
sfree (matches[i]);
}