aboutsummaryrefslogtreecommitdiffstats
path: root/main/manager.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-03 20:32:20 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-03 20:32:20 +0000
commit8127dbd82f09ea845a64d480e137c3c97e5ccfe6 (patch)
treed5420c145067fd5b89b499932e8f324b4008222b /main/manager.c
parent5b0e2e90296d39d7330786c165bfb6a7fd1f76ca (diff)
Fix typo when ListCategories returns none.
(closes issue #13994) Reported by: mika Patches: ListCategoriesActionPatch.diff uploaded by mika (license 624) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@160699 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/manager.c')
-rw-r--r--main/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/manager.c b/main/manager.c
index 7076f4413..b9620e4ba 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -1187,7 +1187,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");