IAX2 prune realtime, minor tweak to last fix
authorDavid Vossel <dvossel@digium.com>
Thu, 26 Feb 2009 17:46:12 +0000 (17:46 +0000)
committerDavid Vossel <dvossel@digium.com>
Thu, 26 Feb 2009 17:46:12 +0000 (17:46 +0000)
A return statement was missing which caused unexpected cli output.

issue #14479

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

channels/chan_iax2.c

index 92e471b..3246bae 100644 (file)
@@ -2652,6 +2652,7 @@ static char *handle_cli_iax2_prune_realtime(struct ast_cli_entry *e, int cmd, st
                prune_users();
                prune_peers();
                ast_cli(a->fd, "Cache flushed successfully.\n");
+               return CLI_SUCCESS;
        }
        peer = find_peer(a->argv[3], 0);
        user = find_user(a->argv[3]);