[svn-commits] mattf: trunk r101 - in /trunk: isup.c parser_debug.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Oct 2 16:41:28 CDT 2007


Author: mattf
Date: Tue Oct  2 16:41:28 2007
New Revision: 101

URL: http://svn.digium.com/view/libss7?view=rev&rev=101
Log:
Add a fix in the dump code for incorrectly sized parameter, as well as an addition to the parser debug code

Modified:
    trunk/isup.c
    trunk/parser_debug.c

Modified: trunk/isup.c
URL: http://svn.digium.com/view/libss7/trunk/isup.c?view=diff&rev=101&r1=100&r2=101
==============================================================================
--- trunk/isup.c (original)
+++ trunk/isup.c Tue Oct  2 16:41:28 2007
@@ -298,7 +298,7 @@
 
 	ss7_message(ss7, "\tOutgoing half echo control device %s\n", con ? "included" : "not included");
 
-	return 2;
+	return 1;
 }
 
 

Modified: trunk/parser_debug.c
URL: http://svn.digium.com/view/libss7/trunk/parser_debug.c?view=diff&rev=101&r1=100&r2=101
==============================================================================
--- trunk/parser_debug.c (original)
+++ trunk/parser_debug.c Tue Oct  2 16:41:28 2007
@@ -11,6 +11,7 @@
 	struct ss7 *ss7 = ss7_new(SS7_ANSI);
 	unsigned char mybuf[512];
 	int res = 0, i = 0, size;
+	ss7_event *e;
 
 	if (argc != 2)
 		return -1;
@@ -36,5 +37,7 @@
 
 	mtp2_receive(ss7->links[0], mybuf, size);
 
+	e = ss7_check_event(ss7);
+
 	return 0;
 }




More information about the svn-commits mailing list