Bug 6927 - CLI command has 3 args, not 2.
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 14 Apr 2006 04:59:11 +0000 (04:59 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 14 Apr 2006 04:59:11 +0000 (04:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19941 65c4cc65-6c06-0410-ace0-fbb531ad65f3

http.c

diff --git a/http.c b/http.c
index 204de13..97eb676 100644 (file)
--- a/http.c
+++ b/http.c
@@ -632,7 +632,7 @@ static int handle_show_http(int fd, int argc, char *argv[])
 {
        char iabuf[INET_ADDRSTRLEN];
        struct ast_http_uri *urih;
-       if (argc != 2)
+       if (argc != 3)
                return RESULT_SHOWUSAGE;
        ast_cli(fd, "HTTP Server Status:\n");
        ast_cli(fd, "Prefix: %s\n", prefix);