diff options
Diffstat (limited to 'template.c')
-rw-r--r-- | template.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -333,6 +333,7 @@ static int do_Parameter(char **pp, struct template *pTpl) /* Get the regex string for compiling later */ strncpy(regex_char, p, longitud); + regex_char[longitud] = '\0'; dprintf("debug: regex detected: '%s'\n", regex_char); |