diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-09-24 16:40:12 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-09-24 16:40:12 +0000 |
commit | 7abaa82162caeb0fe42fac5d5cecd41b2b0d51cc (patch) | |
tree | 877bb16d4b7c4949dac177f11f9bd3699416064d /main/app.c | |
parent | 4f013699e26f7e718cdc44f29ff3c83b47926d94 (diff) |
Merged revisions 83637 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r83637 | tilghman | 2007-09-24 10:17:06 -0500 (Mon, 24 Sep 2007) | 3 lines
Making change to group splitting, as discussed on the -dev list. The main
effect of this will be to permit Set(GROUP([cat])=), i.e. unsetting a group.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/app.c')
-rw-r--r-- | main/app.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/app.c b/main/app.c index 7d39907d1..50a407ada 100644 --- a/main/app.c +++ b/main/app.c @@ -843,7 +843,7 @@ int ast_app_group_split_group(const char *data, char *group, int group_max, char if (!ast_strlen_zero(grp)) ast_copy_string(group, grp, group_max); else - res = -1; + *group = '\0'; if (!ast_strlen_zero(cat)) ast_copy_string(category, cat, category_max); |