From: Damien Wedhorn Date: Sun, 9 Oct 2011 21:09:12 +0000 (+0000) Subject: Remove log message on traverse session list. X-Git-Tag: 10.0.0-rc1~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=030a580bb359a5bc9c2285e870e51222c4d8e134;p=thirdparty%2Fasterisk.git 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 --- 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