summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-07-07 22:32:20 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-07-07 22:32:20 +0000
commitf268ea2b3c1ec5e3718dddea2aeaed0329eeaa24 (patch)
treea573b667aaa5d433b557f82b7ca439d79d1fd191 /res
parentf1a18b8066d100676b06cf7ee62c6a76c53b2530 (diff)
make CLI output use singular/plural when appropriate (bug #4654)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-rwxr-xr-xres/res_features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_features.c b/res/res_features.c
index 65fa79b7d..cfda60587 100755
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -1680,7 +1680,7 @@ static int handle_parkedcalls(int fd, int argc, char *argv[])
cur = cur->next;
numparked++;
}
- ast_cli(fd, "%d parked call(s).\n",numparked);
+ ast_cli(fd, "%d parked call%s.\n", numparked, (numparked != 1) ? "s" : "");
ast_mutex_unlock(&parking_lock);