projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/utils_match.h: Fix a bug preventing derive values from being handled correctly.
[collectd.git]
/
src
/
utils_match.c
diff --git
a/src/utils_match.c
b/src/utils_match.c
index
bdbad3f
..
9dd2da7
100644
(file)
--- a/
src/utils_match.c
+++ b/
src/utils_match.c
@@
-160,7
+160,7
@@
static int default_callback (const char __attribute__((unused)) *str,
if (matches_num < 2)
return (-1);
- value = strtoll (matches[1], &endptr, 0);
+ value =
(derive_t)
strtoll (matches[1], &endptr, 0);
if (matches[1] == endptr)
return (-1);