[Asterisk-cvs] libpri q931.c,1.43,1.44
martinp at lists.digium.com
martinp at lists.digium.com
Wed Jan 28 15:10:19 CST 2004
Update of /usr/cvsroot/libpri
In directory mongoose.digium.com:/tmp/cvs-serv29883
Modified Files:
q931.c
Log Message:
Add displaying User to User messages (the 2nd part of Bug #289)
Index: q931.c
===================================================================
RCS file: /usr/cvsroot/libpri/q931.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- q931.c 17 Jan 2004 15:14:11 -0000 1.43
+++ q931.c 28 Jan 2004 21:02:23 -0000 1.44
@@ -843,7 +843,11 @@
static void dump_user_user(q931_ie *ie, int len, char prefix)
{
-
+ int x;
+ pri_message("%c User-User Information (len=%2d) [ ", prefix, ie->len);
+ for (x=0;x<ie->len;x++)
+ pri_message("%c", ie->data[x] & 0x7f);
+ pri_message(" ]\n");
}
More information about the svn-commits
mailing list