mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -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");
|
||||
|
||||
|
Reference in New Issue
Block a user