[svn-commits] seanbright: branch 11 r406918 - /branches/11/main/manager.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jan 30 11:32:46 CST 2014


Author: seanbright
Date: Thu Jan 30 11:32:35 2014
New Revision: 406918

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=406918
Log:
Make a NOTICE about an invalid channel name more useful.

Modified:
    branches/11/main/manager.c

Modified: branches/11/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/main/manager.c?view=diff&rev=406918&r1=406917&r2=406918
==============================================================================
--- branches/11/main/manager.c (original)
+++ branches/11/main/manager.c Thu Jan 30 11:32:35 2014
@@ -3369,7 +3369,8 @@
 
 	if (name_or_regex[0] != '/') {
 		if (!(c = ast_channel_get_by_name(name_or_regex))) {
-			ast_log(LOG_NOTICE, "!!!!!!!!!! Can't find channel to hang up!\n");
+			ast_log(LOG_NOTICE, "Request to hangup non-existent channel: %s\n",
+				name_or_regex);
 			astman_send_error(s, m, "No such channel");
 			return 0;
 		}




More information about the svn-commits mailing list