aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_features.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-07 22:32:20 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-07 22:32:20 +0000
commit09ab7d67e46379ba55856910f944bd9644efd342 (patch)
treea573b667aaa5d433b557f82b7ca439d79d1fd191 /res/res_features.c
parent3b6e3a55a2ee320d30c3e4f0701a6bc8a5e230f9 (diff)
make CLI output use singular/plural when appropriate (bug #4654)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6047 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_features.c')
-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);