[Asterisk-cvs] libpri-matt pri_facility.c, 1.16, 1.17 prisched.c, 1.5, 1.6 q931.c, 1.17, 1.18

mattf at lists.digium.com mattf at lists.digium.com
Wed Jan 19 10:16:18 CST 2005


Update of /usr/cvsroot/libpri-matt
In directory mongoose.digium.com:/tmp/cvs-serv9691

Modified Files:
	pri_facility.c prisched.c q931.c 
Log Message:
Minor bug fix


Index: pri_facility.c
===================================================================
RCS file: /usr/cvsroot/libpri-matt/pri_facility.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- pri_facility.c	17 Jan 2005 17:42:44 -0000	1.16
+++ pri_facility.c	19 Jan 2005 16:19:22 -0000	1.17
@@ -1,4 +1,7 @@
 /* 
+   This file and it's contents are licensed under the terms and conditions
+   of the GNU Public License.  See http://www.gnu.org for details.
+
    Routines for dealing with facility messages and their respective
    components (ROSE)
 

Index: prisched.c
===================================================================
RCS file: /usr/cvsroot/libpri-matt/prisched.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- prisched.c	14 Jan 2005 17:04:12 -0000	1.5
+++ prisched.c	19 Jan 2005 16:19:22 -0000	1.6
@@ -157,7 +157,7 @@
 {
 	struct adpu_event *cur_event = NULL, *free_event = NULL;
 
-	if (call->adpus) {
+	if (call && call->adpus) {
 		cur_event = call->adpus;
 		while (cur_event) {
 			/* TODO: callbacks, some way of giving return res on status of adpu */

Index: q931.c
===================================================================
RCS file: /usr/cvsroot/libpri-matt/q931.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- q931.c	14 Jan 2005 17:04:12 -0000	1.17
+++ q931.c	19 Jan 2005 16:19:22 -0000	1.18
@@ -1934,7 +1934,7 @@
 				pri_message("NEW_HANGUP DEBUG: Destroying the call, ourstate %s, peerstate %s\n",callstate2str(cur->ourcallstate),callstate2str(cur->peercallstate));
 			if (cur->retranstimer)
 				pri_schedule_del(pri, cur->retranstimer);
-			pri_call_adpu_queue_cleanup(c);
+			pri_call_adpu_queue_cleanup(cur);
 			free(cur);
 			return;
 		}




More information about the svn-commits mailing list