diff options
author | Luigi Rizzo <rizzo@icir.org> | 2006-11-18 20:17:06 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2006-11-18 20:17:06 +0000 |
commit | 49d03906b6da64236fe44bda1d49e56096b5ea1a (patch) | |
tree | 4e3ef80f4f3b392224eaaf49d2c8b64630bad63a /res | |
parent | f148916c23681d8f8bf9568ae877e985107ab83d (diff) |
ESS-ification.
no need to bring this in 1.4, it is just code cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-rw-r--r-- | res/res_features.c | 2 | ||||
-rw-r--r-- | res/res_realtime.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/res/res_features.c b/res/res_features.c index b1d50e59b..485dcbc19 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -1917,7 +1917,7 @@ static int handle_parkedcalls(int fd, int argc, char *argv[]) numparked++; } ast_mutex_unlock(&parking_lock); - ast_cli(fd, "%d parked call%s.\n", numparked, (numparked != 1) ? "s" : ""); + ast_cli(fd, "%d parked call%s.\n", numparked, ESS(numparked)); return RESULT_SUCCESS; diff --git a/res/res_realtime.c b/res/res_realtime.c index 8f382fefd..ee1073576 100644 --- a/res/res_realtime.c +++ b/res/res_realtime.c @@ -88,7 +88,7 @@ static int cli_realtime_update(int fd, int argc, char **argv) { return RESULT_SUCCESS; } - ast_cli(fd, "Updated %d RealTime record%s.\n", res, (res != 1) ? "s" : ""); + ast_cli(fd, "Updated %d RealTime record%s.\n", res, ESS(res)); return RESULT_SUCCESS; } |