mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
Bug 6927 - CLI command has 3 args, not 2.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19941 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
http.c
2
http.c
@@ -632,7 +632,7 @@ static int handle_show_http(int fd, int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
char iabuf[INET_ADDRSTRLEN];
|
char iabuf[INET_ADDRSTRLEN];
|
||||||
struct ast_http_uri *urih;
|
struct ast_http_uri *urih;
|
||||||
if (argc != 2)
|
if (argc != 3)
|
||||||
return RESULT_SHOWUSAGE;
|
return RESULT_SHOWUSAGE;
|
||||||
ast_cli(fd, "HTTP Server Status:\n");
|
ast_cli(fd, "HTTP Server Status:\n");
|
||||||
ast_cli(fd, "Prefix: %s\n", prefix);
|
ast_cli(fd, "Prefix: %s\n", prefix);
|
||||||
|
Reference in New Issue
Block a user