[asterisk-commits] wedhorn: branch 10 r339992 - /branches/10/channels/chan_skinny.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Oct 9 16:09:18 CDT 2011


Author: wedhorn
Date: Sun Oct  9 16:09:12 2011
New Revision: 339992

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=339992
Log:
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.


Modified:
    branches/10/channels/chan_skinny.c

Modified: branches/10/channels/chan_skinny.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/chan_skinny.c?view=diff&rev=339992&r1=339991&r2=339992
==============================================================================
--- branches/10/channels/chan_skinny.c (original)
+++ branches/10/channels/chan_skinny.c Sun Oct  9 16:09:12 2011
@@ -6781,8 +6781,6 @@
 			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




More information about the asterisk-commits mailing list