src/utils_match.c: Added a debug message to print the received regex.
authorFlorian Forster <octo@huhu.verplant.org>
Sun, 24 Feb 2008 14:41:33 +0000 (15:41 +0100)
committerFlorian 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

index 4485f27..dccb40a 100644 (file)
@@ -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);