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 97697 via svnmerge from
[asterisk/asterisk.git]
/
funcs
/
func_groupcount.c
diff --git
a/funcs/func_groupcount.c
b/funcs/func_groupcount.c
index
a447695
..
f0d7df1
100644
(file)
--- a/
funcs/func_groupcount.c
+++ b/
funcs/func_groupcount.c
@@
-53,7
+53,8
@@
static int group_count_function_read(struct ast_channel *chan, const char *cmd,
}
if (gi) {
ast_copy_string(group, gi->group, sizeof(group));
}
if (gi) {
ast_copy_string(group, gi->group, sizeof(group));
- ast_copy_string(category, gi->category, sizeof(category));
+ if (!ast_strlen_zero(gi->category))
+ ast_copy_string(category, gi->category, sizeof(category));
}
ast_app_group_list_unlock();
}
}
ast_app_group_list_unlock();
}