[asterisk-commits] oej: branch oej/pinepacketrequest r219263 - /team/oej/pinepacketrequest/chann...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 17 13:51:35 CDT 2009


Author: oej
Date: Thu Sep 17 13:51:31 2009
New Revision: 219263

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=219263
Log:
Mark found this while reviewing code. Thanks.

Modified:
    team/oej/pinepacketrequest/channels/chan_sip.c

Modified: team/oej/pinepacketrequest/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/oej/pinepacketrequest/channels/chan_sip.c?view=diff&rev=219263&r1=219262&r2=219263
==============================================================================
--- team/oej/pinepacketrequest/channels/chan_sip.c (original)
+++ team/oej/pinepacketrequest/channels/chan_sip.c Thu Sep 17 13:51:31 2009
@@ -3883,7 +3883,7 @@
 	}
 
 	/* If there are packets still waiting for delivery, delay the destruction */
-	if(AST_LIST_EMPTY(&p->packets)) {
+	if(!AST_LIST_EMPTY(&p->packets)) {
 		if (!p->needdestroy) {
 			char method_str[31];
 			ast_debug(3, "Re-scheduled destruction of SIP call %s\n", p->callid ? p->callid : "<unknown>");




More information about the asterisk-commits mailing list