From 089fa9bb54766b3708dba1b1b1cbacad702e12c4 Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Wed, 3 Dec 2008 20:36:48 +0000 Subject: [PATCH] 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: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@160702 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/manager.c b/main/manager.c index b4c91e0503..0ec50d5410 100644 --- a/main/manager.c +++ b/main/manager.c @@ -1151,7 +1151,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"); @@ -1186,7 +1186,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");