aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/app.c b/main/app.c
index 697420dc1..d65ff53f7 100644
--- a/main/app.c
+++ b/main/app.c
@@ -782,7 +782,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);