[libpri-commits] mattf: trunk r473 - /trunk/q921.c

SVN commits to the libpri project libpri-commits at lists.digium.com
Sat Oct 13 11:00:09 CDT 2007


Author: mattf
Date: Sat Oct 13 11:00:09 2007
New Revision: 473

URL: http://svn.digium.com/view/libpri?view=rev&rev=473
Log:
Make sure that we only output the message handling debug when we're actually debugging

Modified:
    trunk/q921.c

Modified: trunk/q921.c
URL: http://svn.digium.com/view/libpri/trunk/q921.c?view=diff&rev=473&r1=472&r2=473
==============================================================================
--- trunk/q921.c (original)
+++ trunk/q921.c Sat Oct 13 11:00:09 2007
@@ -1062,7 +1062,8 @@
 		}
 
 	}
-	pri_message(pri, "Handling message for SAPI/TEI=%d/%d\n", h->h.sapi, h->h.tei);
+	if (pri->debug & PRI_DEBUG_Q921_DUMP)
+		pri_message(pri, "Handling message for SAPI/TEI=%d/%d\n", h->h.sapi, h->h.tei);
 	ev = __q921_receive_qualified(pri, h, len);
 	reschedule_t203(pri);
 	return ev;




More information about the libpri-commits mailing list