projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2551e9
)
src/utils_match.c: Added a debug message to print the received regex.
author
Florian Forster
<octo@huhu.verplant.org>
Sun, 24 Feb 2008 14:41:33 +0000
(15:41 +0100)
committer
Florian Forster
<octo@huhu.verplant.org>
Sun, 24 Feb 2008 14:41:33 +0000
(15:41 +0100)
Escapes in the configfile made it interesting what string actually arrives at
the plugin.
src/utils_match.c
patch
|
blob
|
history
diff --git
a/src/utils_match.c
b/src/utils_match.c
index
4485f27
..
dccb40a
100644
(file)
--- a/
src/utils_match.c
+++ b/
src/utils_match.c
@@
-131,6
+131,8
@@
cu_match_t *match_create_callback (const char *regex,
cu_match_t *obj;
int status;
+ DEBUG ("utils_match: match_create_callback: regex = %s", regex);
+
obj = (cu_match_t *) malloc (sizeof (cu_match_t));
if (obj == NULL)
return (NULL);