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
This commit is contained in:
Luigi Rizzo
2006-11-18 20:17:06 +00:00
parent f148916c23
commit 49d03906b6
3 changed files with 6 additions and 6 deletions

View File

@@ -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;

View File

@@ -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;
}