oops.
authorRussell Bryant <russell@russellbryant.com>
Thu, 31 Aug 2006 04:19:54 +0000 (04:19 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 31 Aug 2006 04:19:54 +0000 (04:19 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41545 65c4cc65-6c06-0410-ace0-fbb531ad65f3

funcs/func_strings.c

index 8c3b462..3b13d94 100644 (file)
@@ -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, '"');