[svn-commits] russell: branch 1.4 r47352 - /branches/1.4/main/asterisk.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Nov 8 23:31:37 MST 2006


Author: russell
Date: Thu Nov  9 00:31:37 2006
New Revision: 47352

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47352
Log:
fix "core show version" to reflect the new number of arguments for this
CLI command (issue #8316, kshumard)

Modified:
    branches/1.4/main/asterisk.c

Modified: branches/1.4/main/asterisk.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/asterisk.c?view=diff&rev=47352&r1=47351&r2=47352
==============================================================================
--- branches/1.4/main/asterisk.c (original)
+++ branches/1.4/main/asterisk.c Thu Nov  9 00:31:37 2006
@@ -1372,7 +1372,7 @@
 
 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,



More information about the svn-commits mailing list