Remove debugging that indeed should have been gone before commit. Sorry.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@242851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson
2010-01-25 20:08:32 +00:00
parent 3bf13e6d9c
commit 80c7326a6c

View File

@@ -1507,15 +1507,14 @@ static int action_setvar(struct mansession *s, const struct message *m)
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 {