mirror of
https://github.com/asterisk/asterisk.git
synced 2026-01-03 13:04:32 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user