Merged revisions 339992 via svnmerge from
authorDamien Wedhorn <voip@facts.com.au>
Sun, 9 Oct 2011 21:15:09 +0000 (21:15 +0000)
committerDamien Wedhorn <voip@facts.com.au>
Sun, 9 Oct 2011 21:15:09 +0000 (21:15 +0000)
https://origsvn.digium.com/svn/asterisk/branches/10

........
  r339992 | wedhorn | 2011-10-10 08:09:12 +1100 (Mon, 10 Oct 2011) | 9 lines

  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/trunk@339993 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_skinny.c

index dbec7e3..bc2d015 100644 (file)
@@ -6773,8 +6773,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