]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove debugging that indeed should have been gone before commit. Sorry.
authorOlle Johansson <oej@edvina.net>
Mon, 25 Jan 2010 20:08:32 +0000 (20:08 +0000)
committerOlle Johansson <oej@edvina.net>
Mon, 25 Jan 2010 20:08:32 +0000 (20:08 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@242851 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/manager.c

index bdd679c3499d2a9f004a148551b7cf2a56ee3317..173964b19e4910cd2be067df6ed0f69556d95eb6 100644 (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 {