aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/func_strings.c')
-rw-r--r--funcs/func_strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_strings.c b/funcs/func_strings.c
index 8c3b4628a..3b13d9438 100644
--- a/funcs/func_strings.c
+++ b/funcs/func_strings.c
@@ -115,7 +115,7 @@ static int regex(struct ast_channel *chan, char *cmd, char *parse, char *buf,
int errcode;
regex_t regexbuf;
- buf[0] = '0';
+ buf[0] = '\0';
AST_NONSTANDARD_APP_ARGS(args, parse, '"');