https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47352 | russell | 2006-11-09 01:31:37 -0500 (Thu, 09 Nov 2006) | 3 lines
fix "core show version" to reflect the new number of arguments for this
CLI command (issue #8316, kshumard)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47353
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
static int handle_version(int fd, int argc, char *argv[])
{
- if (argc != 2)
+ if (argc != 3)
return RESULT_SHOWUSAGE;
ast_cli(fd, "Asterisk %s built by %s @ %s on a %s running %s on %s\n",
ASTERISK_VERSION, ast_build_user, ast_build_hostname,