projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
collectd-tg: remove dead code
[collectd.git]
/
src
/
daemon
/
utils_tail_match.c
diff --git
a/src/daemon/utils_tail_match.c
b/src/daemon/utils_tail_match.c
index
1e5da95
..
1aeb814
100644
(file)
--- a/
src/daemon/utils_tail_match.c
+++ b/
src/daemon/utils_tail_match.c
@@
-179,7
+179,7
@@
int tail_match_add_match (cu_tail_match_t *obj, cu_match_t *match,
{
cu_tail_match_match_t *temp;
- temp =
(cu_tail_match_match_t *)
realloc (obj->matches,
+ temp = realloc (obj->matches,
sizeof (cu_tail_match_match_t) * (obj->matches_num + 1));
if (temp == NULL)
return (-1);