From: Florian Forster Date: Sun, 24 Feb 2008 14:41:33 +0000 (+0100) Subject: src/utils_match.c: Added a debug message to print the received regex. X-Git-Tag: collectd-4.4.0~89^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b6d1bf3e848145782f61e46996c9a4b488708166;p=collectd.git src/utils_match.c: Added a debug message to print the received regex. Escapes in the configfile made it interesting what string actually arrives at the plugin. --- diff --git a/src/utils_match.c b/src/utils_match.c index 4485f273..dccb40a7 100644 --- 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);