mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-01 18:09:41 +00:00
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/branches/1.4@47352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1372,7 +1372,7 @@ static char version_help[] =
|
|||||||
|
|
||||||
static int handle_version(int fd, int argc, char *argv[])
|
static int handle_version(int fd, int argc, char *argv[])
|
||||||
{
|
{
|
||||||
if (argc != 2)
|
if (argc != 3)
|
||||||
return RESULT_SHOWUSAGE;
|
return RESULT_SHOWUSAGE;
|
||||||
ast_cli(fd, "Asterisk %s built by %s @ %s on a %s running %s on %s\n",
|
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,
|
ASTERISK_VERSION, ast_build_user, ast_build_hostname,
|
||||||
|
Reference in New Issue
Block a user