projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb5e5c1
)
initialize variable
author
Kevin P. Fleming
<kpfleming@digium.com>
Fri, 14 Oct 2005 00:45:38 +0000
(
00:45
+0000)
committer
Kevin P. Fleming
<kpfleming@digium.com>
Fri, 14 Oct 2005 00:45:38 +0000
(
00:45
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6786
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
funcs/func_strings.c
patch
|
blob
|
history
diff --git
a/funcs/func_strings.c
b/funcs/func_strings.c
index
dced1e1
..
0350141
100755
(executable)
--- a/
funcs/func_strings.c
+++ b/
funcs/func_strings.c
@@
-69,7
+69,7
@@
struct ast_custom_function fieldqty_function = {
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;