Fix compilation problem with previous commit.
authorLeif Madsen <leif@leifmadsen.com>
Wed, 19 May 2010 15:39:39 +0000 (15:39 +0000)
committerLeif Madsen <leif@leifmadsen.com>
Wed, 19 May 2010 15:39:39 +0000 (15:39 +0000)
(issue #16009)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@264161 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/cli.c

index 841082d..355cad5 100644 (file)
@@ -952,7 +952,7 @@ static char *handle_softhangup(struct ast_cli_entry *e, int cmd, struct ast_cli_
 
        if (!strcasecmp(a->argv[3], "all")) {
                struct ast_channel_iterator *iter = NULL;
-               if (!(iter = ast_channel_iterator_all_new(0))) {
+               if (!(iter = ast_channel_iterator_all_new())) {
                        return CLI_FAILURE;
                }
                for (; iter && (c = ast_channel_iterator_next(iter)); ast_channel_unref(c)) {