[asterisk-commits] wedhorn: branch wedhorn/packet-fragmentation r383906 - /team/wedhorn/packet-f...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 26 01:50:31 CDT 2013


Author: wedhorn
Date: Tue Mar 26 01:50:27 2013
New Revision: 383906

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=383906
Log:
Wrap ast_sched_del in if to get it to compile with --enable-dev-mode (temp soln)

Modified:
    team/wedhorn/packet-fragmentation/channels/chan_skinny.c

Modified: team/wedhorn/packet-fragmentation/channels/chan_skinny.c
URL: http://svnview.digium.com/svn/asterisk/team/wedhorn/packet-fragmentation/channels/chan_skinny.c?view=diff&rev=383906&r1=383905&r2=383906
==============================================================================
--- team/wedhorn/packet-fragmentation/channels/chan_skinny.c (original)
+++ team/wedhorn/packet-fragmentation/channels/chan_skinny.c Tue Mar 26 01:50:27 2013
@@ -7483,7 +7483,7 @@
 static void destroy_session(struct skinnysession *s)
 {
 	struct skinnysession *cur;
-	ast_sched_del(sched, s->keepalive_sched);
+	if (ast_sched_del(sched, s->keepalive_sched)) {};
 	AST_LIST_LOCK(&sessions);
 	AST_LIST_TRAVERSE_SAFE_BEGIN(&sessions, cur, list) {
 		if (cur == s) {




More information about the asterisk-commits mailing list