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

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Sep 4 14:05:07 CDT 2007


Author: mattf
Date: Tue Sep  4 14:05:06 2007
New Revision: 458

URL: http://svn.digium.com/view/libpri?view=rev&rev=458
Log:
Make sure the CRV flag is set properly

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=458&r1=457&r2=458
==============================================================================
--- team/mattf/libpri-tbct/pri_facility.c (original)
+++ team/mattf/libpri-tbct/pri_facility.c Tue Sep  4 14:05:06 2007
@@ -865,7 +865,7 @@
 	int i = 0;
 	int res = 0;
 	unsigned char buffer[255] = "";
-	short call_reference = c2->cr & (~0x8000); /* Clear the flag bit */
+	short call_reference = c2->cr ^ 0x8000;  /* Let's do the trickery to make sure the flag is correct */
 	struct rose_component *comp = NULL, *compstk[10];
 	int compsp = 0;
 	static unsigned char op_tag[] = {




More information about the svn-commits mailing list