From 030a580bb359a5bc9c2285e870e51222c4d8e134 Mon Sep 17 00:00:00 2001 From: Damien Wedhorn Date: Sun, 9 Oct 2011 21:09:12 +0000 Subject: [PATCH] Remove log message on traverse session list. 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 | 2 -- 1 file changed, 2 deletions(-) diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index cc63d6443f..d792ee4c66 100644 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -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 -- 2.47.2