[libpri-commits] mattf: branch mattf/libpri-tbct r457 - /team/mattf/libpri-tbct/pri_facility.c

SVN commits to the libpri project libpri-commits at lists.digium.com
Tue Sep 4 12:25:13 CDT 2007


Author: mattf
Date: Tue Sep  4 12:25:12 2007
New Revision: 457

URL: http://svn.digium.com/view/libpri?view=rev&rev=457
Log:
Make sure we don't have the flag bit set...

Modified:
    team/mattf/libpri-tbct/pri_facility.c

Modified: team/mattf/libpri-tbct/pri_facility.c
URL: http://svn.digium.com/view/libpri/team/mattf/libpri-tbct/pri_facility.c?view=diff&rev=457&r1=456&r2=457
==============================================================================
--- team/mattf/libpri-tbct/pri_facility.c (original)
+++ team/mattf/libpri-tbct/pri_facility.c Tue Sep  4 12:25:12 2007
@@ -865,7 +865,7 @@
 	int i = 0;
 	int res = 0;
 	unsigned char buffer[255] = "";
-	short call_reference = c2->cr;
+	short call_reference = c2->cr & (~0x8000); /* Clear the flag bit */
 	struct rose_component *comp = NULL, *compstk[10];
 	int compsp = 0;
 	static unsigned char op_tag[] = {




More information about the libpri-commits mailing list