[svn-commits] rmudgett: branch 1.4 r2042 - /branches/1.4/q921.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Oct 15 23:34:41 CDT 2010


Author: rmudgett
Date: Fri Oct 15 23:34:39 2010
New Revision: 2042

URL: http://svnview.digium.com/svn/libpri?view=rev&rev=2042
Log:
Dump Q.931 message using the TEI value the message came in with.

Modified:
    branches/1.4/q921.c

Modified: branches/1.4/q921.c
URL: http://svnview.digium.com/svn/libpri/branches/1.4/q921.c?view=diff&rev=2042&r1=2041&r2=2042
==============================================================================
--- branches/1.4/q921.c (original)
+++ branches/1.4/q921.c Fri Oct 15 23:34:39 2010
@@ -2090,7 +2090,7 @@
 			 * Q.921 is dumping its frames they will be in the correct order.
 			 */
 			if (ctrl->debug & PRI_DEBUG_Q931_DUMP) {
-				q931_dump(ctrl, ctrl->tei, (q931_h *) h->i.data, len - 4, 0);
+				q931_dump(ctrl, h->h.tei, (q931_h *) h->i.data, len - 4, 0);
 			}
 			delay_q931_receive = 1;
 
@@ -2377,7 +2377,7 @@
 		case 0x00:
 			/* UI-frame */
 			if (ctrl->debug & PRI_DEBUG_Q931_DUMP) {
-				q931_dump(ctrl, ctrl->tei, (q931_h *) h->u.data, len - 3, 0);
+				q931_dump(ctrl, h->h.tei, (q931_h *) h->u.data, len - 3, 0);
 			}
 			res = q931_receive(ctrl, ctrl->tei, (q931_h *) h->u.data, len - 3);
 			if (res != -1 && (res & Q931_RES_HAVEEVENT)) {




More information about the svn-commits mailing list