diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-03 20:36:10 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-03 20:36:10 +0000 |
commit | 7eb3ab878827c164ed565e571658bdc7e7aee943 (patch) | |
tree | 2a7dfb55c2412048ded931eb24649025fc2b2b51 /main | |
parent | 127176d5e4299bd92eeb8479c2f9049701489b1c (diff) |
Merged revisions 160699-160700 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r160699 | qwell | 2008-12-03 14:32:20 -0600 (Wed, 03 Dec 2008) | 7 lines
Fix typo when ListCategories returns none.
(closes issue #13994)
Reported by: mika
Patches:
ListCategoriesActionPatch.diff uploaded by mika (license 624)
........
r160700 | qwell | 2008-12-03 14:35:36 -0600 (Wed, 03 Dec 2008) | 1 line
Another place this is missing
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@160701 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/manager.c b/main/manager.c index 0076f64f3..0f48da71f 100644 --- a/main/manager.c +++ b/main/manager.c @@ -1111,7 +1111,7 @@ static int action_getconfig(struct mansession *s, const struct message *m) } } if (!ast_strlen_zero(category) && catcount == 0) /* TODO: actually, a config with no categories doesn't even get loaded */ - astman_append(s, "No categories found"); + astman_append(s, "No categories found\r\n"); ast_config_destroy(cfg); astman_append(s, "\r\n"); @@ -1146,7 +1146,7 @@ static int action_listcategories(struct mansession *s, const struct message *m) catcount++; } if (catcount == 0) /* TODO: actually, a config with no categories doesn't even get loaded */ - astman_append(s, "Error: no categories found"); + astman_append(s, "Error: no categories found\r\n"); ast_config_destroy(cfg); astman_append(s, "\r\n"); |