aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/ael/pval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/ael/pval.c b/res/ael/pval.c
index 8ee603aae..20e5eddc3 100644
--- a/res/ael/pval.c
+++ b/res/ael/pval.c
@@ -745,6 +745,7 @@ static int extension_matches(pval *here, const char *exten, const char *pattern)
while ( *p && *p != ']' ) {
*r++ = *p++;
}
+ *r++ = ']';
if ( *p != ']') {
ast_log(LOG_WARNING, "Warning: file %s, line %d-%d: The extension pattern '%s' is missing a closing bracket \n",
here->filename, here->startline, here->endline, pattern);