[svn-commits] mmichelson: branch 1.4 r150304 - /branches/1.4/main/manager.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Oct 16 18:40:54 CDT 2008


Author: mmichelson
Date: Thu Oct 16 18:40:54 2008
New Revision: 150304

URL: http://svn.digium.com/view/asterisk?view=rev&rev=150304
Log:
Reverting changes from commits 150298 and 150301 since
I was mistakenly under the assumption that dialplan functions
*always* required that a channel be present. I need to go
home earlier, I think :)


Modified:
    branches/1.4/main/manager.c

Modified: branches/1.4/main/manager.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/manager.c?view=diff&rev=150304&r1=150303&r2=150304
==============================================================================
--- branches/1.4/main/manager.c (original)
+++ branches/1.4/main/manager.c Thu Oct 16 18:40:54 2008
@@ -1499,10 +1499,7 @@
 
 	if (varname[strlen(varname) - 1] == ')') {
 		char *copy = ast_strdupa(varname);
-		if (!c) {
-			astman_send_error(s, m, "No such channel");
-			return 0;
-		}
+
 		ast_func_read(c, copy, workspace, sizeof(workspace));
 		varval = workspace;
 	} else {




More information about the svn-commits mailing list