[svn-commits] russell: branch russell/chan_refcount r89945 - /team/russell/chan_refcount/apps/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Nov 27 18:45:43 CST 2007


Author: russell
Date: Tue Nov 27 18:45:42 2007
New Revision: 89945

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89945
Log:
fix return value in a CLI handler

Modified:
    team/russell/chan_refcount/apps/app_mixmonitor.c

Modified: team/russell/chan_refcount/apps/app_mixmonitor.c
URL: http://svn.digium.com/view/asterisk/team/russell/chan_refcount/apps/app_mixmonitor.c?view=diff&rev=89945&r1=89944&r2=89945
==============================================================================
--- team/russell/chan_refcount/apps/app_mixmonitor.c (original)
+++ team/russell/chan_refcount/apps/app_mixmonitor.c Tue Nov 27 18:45:42 2007
@@ -388,7 +388,7 @@
 
 	if (!(chan = ast_channel_get_by_name_prefix(a->argv[2], strlen(a->argv[2])))) {
 		ast_cli(a->fd, "No channel matching '%s' found.\n", a->argv[2]);
-		return RESULT_SUCCESS;
+		return CLI_SUCCESS;
 	}
 
 	if (!strcasecmp(a->argv[1], "start"))




More information about the svn-commits mailing list