[Asterisk-cvs] asterisk pbx.c,1.275,1.276
russell
russell
Fri Sep 16 14:12:43 CDT 2005
- Previous message: [Asterisk-cvs] libpri pri_facility.c,1.21,1.22 q931.c,1.138,1.139
- Next message: [Asterisk-cvs] asterisk-addons/asterisk-ooh323c/ooh323c/src
ooCalls.h, 1.5, 1.6 ooGkClient.c, 1.7, 1.8 ooStackCmds.c, 1.6,
1.7 ooStackCmds.h, 1.5, 1.6 ooh323ep.c, 1.5, 1.6 ooh323ep.h,
1.6, 1.7 ooq931.c, 1.15, 1.16 ooq931.h, 1.6, 1.7 ootrace.c,
1.4, 1.5 ootypes.h, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv20594
Modified Files:
pbx.c
Log Message:
clean up singular vs. plural output for the 'show dialplan' CLI command
Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.275
retrieving revision 1.276
diff -u -d -r1.275 -r1.276
--- pbx.c 14 Sep 2005 20:46:49 -0000 1.275
+++ pbx.c 16 Sep 2005 18:11:00 -0000 1.276
@@ -3506,8 +3506,10 @@
return RESULT_FAILURE;
}
- ast_cli(fd,"-= %d extensions (%d priorities) in %d contexts. =-\n",
- counters.total_exten, counters.total_prio, counters.total_context);
+ ast_cli(fd,"-= %d %s (%d %s) in %d %s. =-\n",
+ counters.total_exten, counters.total_exten == 1 ? "extension" : "extensions",
+ counters.total_prio, counters.total_prio == 1 ? "priority" : "priorities",
+ counters.total_context, counters.total_context == 1 ? "context" : "contexts");
/* everything ok */
return RESULT_SUCCESS;
- Previous message: [Asterisk-cvs] libpri pri_facility.c,1.21,1.22 q931.c,1.138,1.139
- Next message: [Asterisk-cvs] asterisk-addons/asterisk-ooh323c/ooh323c/src
ooCalls.h, 1.5, 1.6 ooGkClient.c, 1.7, 1.8 ooStackCmds.c, 1.6,
1.7 ooStackCmds.h, 1.5, 1.6 ooh323ep.c, 1.5, 1.6 ooh323ep.h,
1.6, 1.7 ooq931.c, 1.15, 1.16 ooq931.h, 1.6, 1.7 ootrace.c,
1.4, 1.5 ootypes.h, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list