[svn-commits] qwell: trunk r160699 - /trunk/main/manager.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Dec 3 14:32:20 CST 2008


Author: qwell
Date: Wed Dec  3 14:32:20 2008
New Revision: 160699

URL: http://svn.digium.com/view/asterisk?view=rev&rev=160699
Log:
Fix typo when ListCategories returns none.

(closes issue #13994)
Reported by: mika
Patches:
      ListCategoriesActionPatch.diff uploaded by mika (license 624)

Modified:
    trunk/main/manager.c

Modified: trunk/main/manager.c
URL: http://svn.digium.com/view/asterisk/trunk/main/manager.c?view=diff&rev=160699&r1=160698&r2=160699
==============================================================================
--- trunk/main/manager.c (original)
+++ trunk/main/manager.c Wed Dec  3 14:32:20 2008
@@ -1187,7 +1187,7 @@
 		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");
 




More information about the svn-commits mailing list