]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove log message on traverse session list.
authorDamien Wedhorn <voip@facts.com.au>
Sun, 9 Oct 2011 21:09:12 +0000 (21:09 +0000)
committerDamien Wedhorn <voip@facts.com.au>
Sun, 9 Oct 2011 21:09:12 +0000 (21:09 +0000)
On destroying a session, a list of sessions is traversed to find the
matching session. For each session not matching, skinny erroneously
logged that the session was not matched. While technically correct
the message was misleading, and tended to indicate errors that
were not there.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@339992 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_skinny.c

index cc63d6443f702b95ed25c4ea5ff61700cc26f7ca..d792ee4c66c9485efcb00a927fb46aef6e336256 100644 (file)
@@ -6781,8 +6781,6 @@ static void destroy_session(struct skinnysession *s)
                        ast_mutex_destroy(&s->lock);
                        
                        ast_free(s);
-               } else {
-                       ast_log(LOG_WARNING, "Trying to delete nonexistent session %p?\n", s);
                }
        }
        AST_LIST_TRAVERSE_SAFE_END