From: Jason Parker Date: Wed, 3 Dec 2008 20:32:20 +0000 (+0000) Subject: Fix typo when ListCategories returns none. X-Git-Tag: 1.6.2.0-beta1~729 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b147256fb5d210a0dd052cb5107a4fbd46168495;p=thirdparty%2Fasterisk.git Fix typo when ListCategories returns none. (closes issue #13994) Reported by: mika Patches: ListCategoriesActionPatch.diff uploaded by mika (license 624) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@160699 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/manager.c b/main/manager.c index 7076f4413d..b9620e4bad 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");