[libss7-commits] mattf: trunk r107 - /trunk/parser_debug.c

SVN commits to the libss7 project libss7-commits at lists.digium.com
Tue Oct 2 17:32:43 CDT 2007


Author: mattf
Date: Tue Oct  2 17:32:43 2007
New Revision: 107

URL: http://svn.digium.com/view/libss7?view=rev&rev=107
Log:
Make sure that we use exactly the right size

Modified:
    trunk/parser_debug.c

Modified: trunk/parser_debug.c
URL: http://svn.digium.com/view/libss7/trunk/parser_debug.c?view=diff&rev=107&r1=106&r2=107
==============================================================================
--- trunk/parser_debug.c (original)
+++ trunk/parser_debug.c Tue Oct  2 17:32:43 2007
@@ -22,7 +22,7 @@
 		res = fscanf(fp, "%x ", &mybuf[i++]);
 	}
 
-	size = i - 1;
+	size = i + 1;
 
 	for (i = 0; i < size; i++) {
 		printf("%.2x ", mybuf[i]);




More information about the libss7-commits mailing list