projects
/
asterisk/asterisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merged revisions 232268 via svnmerge from
[asterisk/asterisk.git]
/
funcs
/
func_groupcount.c
diff --git
a/funcs/func_groupcount.c
b/funcs/func_groupcount.c
index
81c4c97
..
4ee88a8
100644
(file)
--- a/
funcs/func_groupcount.c
+++ b/
funcs/func_groupcount.c
@@
-196,6
+196,10
@@
static int group_function_write(struct ast_channel *chan, const char *cmd,
{
char grpcat[256];
+ if (!value) {
+ return -1;
+ }
+
if (!ast_strlen_zero(data)) {
snprintf(grpcat, sizeof(grpcat), "%s@%s", value, data);
} else {