Code

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 4485f273d8f29447e44dcb086074db466bbc9535..dccb40a7f198b142eef9c5c63fe6793d5ea70b14 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);