[libpri-commits] rmudgett: branch 1.4 r782 - in /branches/1.4: pri_q931.h q921.c

SVN commits to the libpri project libpri-commits at lists.digium.com
Fri May 1 17:47:45 CDT 2009


Author: rmudgett
Date: Fri May  1 17:47:41 2009
New Revision: 782

URL: http://svn.digium.com/svn-view/libpri?view=rev&rev=782
Log:
Comment changes.

Modified:
    branches/1.4/pri_q931.h
    branches/1.4/q921.c

Modified: branches/1.4/pri_q931.h
URL: http://svn.digium.com/svn-view/libpri/branches/1.4/pri_q931.h?view=diff&rev=782&r1=781&r2=782
==============================================================================
--- branches/1.4/pri_q931.h (original)
+++ branches/1.4/pri_q931.h Fri May  1 17:47:41 2009
@@ -79,13 +79,13 @@
 	u_int8_t pd;		/* Protocol Discriminator */
 #if __BYTE_ORDER == __BIG_ENDIAN
 	u_int8_t x0:4;
-	u_int8_t crlen:4;
+	u_int8_t crlen:4;/*!< Call reference length */
 #else
-	u_int8_t crlen:4;
+	u_int8_t crlen:4;/*!< Call reference length */
 	u_int8_t x0:4;
 #endif
 	u_int8_t contents[0];
-	u_int8_t crv[3];
+	u_int8_t crv[3];/*!< Call reference value */
 } __attribute__ ((packed)) q931_h;
 
 

Modified: branches/1.4/q921.c
URL: http://svn.digium.com/svn-view/libpri/branches/1.4/q921.c?view=diff&rev=782&r1=781&r2=782
==============================================================================
--- branches/1.4/q921.c (original)
+++ branches/1.4/q921.c Fri May  1 17:47:41 2009
@@ -821,7 +821,7 @@
 	/* Notify Layer 3 */
 	q931_dl_indication(pri, PRI_EVENT_DCHAN_DOWN);
 
-	/* Report event that D-Channel is now up */
+	/* Report event that D-Channel is now down */
 	pri->ev.gen.e = PRI_EVENT_DCHAN_DOWN;
 	return &pri->ev;
 }
@@ -894,6 +894,7 @@
 		/* Go to master */
 		for (sub = pri; sub->master; sub = sub->master);
 		tei = 64;
+/*! \todo XXX Error:  The following loop never terminates! */
 		while(sub->subchannel) {
 			if(sub->subchannel->tei == tei)
 				++tei;




More information about the libpri-commits mailing list