From: Olle Johansson Date: Mon, 25 Jan 2010 20:08:32 +0000 (+0000) Subject: Remove debugging that indeed should have been gone before commit. Sorry. X-Git-Tag: 1.4.30-rc2~5^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80c7326a6c4b279a01715eb0b6a818c896d083f8;p=thirdparty%2Fasterisk.git 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 --- diff --git a/main/manager.c b/main/manager.c index bdd679c349..173964b19e 100644 --- a/main/manager.c +++ b/main/manager.c @@ -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 {