Bug 6927 - CLI command has 3 args, not 2.
[asterisk/asterisk.git] / 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);