[asterisk-commits] dvossel: trunk r178871 - /trunk/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Feb 26 11:46:15 CST 2009


Author: dvossel
Date: Thu Feb 26 11:46:12 2009
New Revision: 178871

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=178871
Log:
IAX2 prune realtime, minor tweak to last fix

A return statement was missing which caused unexpected cli output.

issue #14479

Modified:
    trunk/channels/chan_iax2.c

Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/channels/chan_iax2.c?view=diff&rev=178871&r1=178870&r2=178871
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Thu Feb 26 11:46:12 2009
@@ -2652,6 +2652,7 @@
 		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]);




More information about the asterisk-commits mailing list