[svn-commits] oej: branch 1.4 r242851 - /branches/1.4/main/manager.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jan 25 14:08:36 CST 2010


Author: oej
Date: Mon Jan 25 14:08:32 2010
New Revision: 242851

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=242851
Log:
Remove debugging that indeed should have been gone before commit. Sorry.

Modified:
    branches/1.4/main/manager.c

Modified: branches/1.4/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/main/manager.c?view=diff&rev=242851&r1=242850&r2=242851
==============================================================================
--- branches/1.4/main/manager.c (original)
+++ branches/1.4/main/manager.c Mon Jan 25 14:08:32 2010
@@ -1507,15 +1507,14 @@
 	if (varname[strlen(varname)-1] == ')') {
 		char *function = ast_strdupa(varname);
 		res = ast_func_write(c, function, varval);
-		ast_log(LOG_DEBUG, "---- RESULT of ast_func_write %d \n", res);
 	} else {
 		pbx_builtin_setvar_helper(c, varname, S_OR(varval, ""));
 	}
 	  
-	if (c)
+	if (c) {
 		ast_channel_unlock(c);
-
-	ast_log(LOG_DEBUG, "---- RESULT 2 :: ast_func_write %d \n", res);
+	}
+
 	if (res == 0) {
 		astman_send_ack(s, m, "Variable Set");	
 	} else {




More information about the svn-commits mailing list