[Asterisk-cvs] asterisk/funcs func_strings.c,1.9,1.10
kpfleming
kpfleming
Thu Oct 13 20:51:02 CDT 2005
Update of /usr/cvsroot/asterisk/funcs
In directory mongoose.digium.com:/tmp/cvs-serv24096/funcs
Modified Files:
func_strings.c
Log Message:
initialize variable
Index: func_strings.c
===================================================================
RCS file: /usr/cvsroot/asterisk/funcs/func_strings.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- func_strings.c 12 Oct 2005 01:09:04 -0000 1.9
+++ func_strings.c 14 Oct 2005 00:45:38 -0000 1.10
@@ -69,7 +69,7 @@
static char *builtin_function_regex(struct ast_channel *chan, char *cmd, char *data, char *buf, size_t len)
{
- char *arg, *earg, *tmp, errstr[256] = "";
+ char *arg, *earg = NULL, *tmp, errstr[256] = "";
int errcode;
regex_t regexbuf;
More information about the svn-commits
mailing list