[Asterisk-cvs] asterisk pbx.c,1.283,1.284

kpfleming kpfleming
Thu Oct 13 19:41:20 CDT 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv23384

Modified Files:
	pbx.c 
Log Message:
use English states in 'show hints' CLI command


Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.283
retrieving revision 1.284
diff -u -d -r1.283 -r1.284
--- pbx.c	4 Oct 2005 17:41:30 -0000	1.283
+++ pbx.c	13 Oct 2005 23:35:57 -0000	1.284
@@ -3145,14 +3145,14 @@
 		watchers = 0;
 		for (watcher = hint->callbacks; watcher; watcher = watcher->next)
 			watchers++;
-		ast_cli(fd, "   %-20.20s: %-20.20s  State %2d Watchers %2d\n",
+		ast_cli(fd, "   %-20.20s: %-20.20s  State:%-15.15s Watchers %2d\n",
 			ast_get_extension_name(hint->exten), ast_get_extension_app(hint->exten),
-			hint->laststate, watchers);
+			devstate2str(hint->laststate), watchers);
 		num++;
 		hint = hint->next;
 	}
 	ast_cli(fd, "----------------\n");
-	ast_cli(fd, "- %d hints registred\n", num);
+	ast_cli(fd, "- %d hints registered\n", num);
 	ast_mutex_unlock(&hintlock);
 	return RESULT_SUCCESS;
 }




More information about the svn-commits mailing list