diff -Nuar Net-LibNIDS-0.01.orig/LibNIDS.xs Net-LibNIDS-0.01/LibNIDS.xs
--- Net-LibNIDS-0.01.orig/LibNIDS.xs	2004-06-27 07:45:00.000000000 -0400
+++ Net-LibNIDS-0.01/LibNIDS.xs	2010-01-28 00:35:43.000000000 -0500
@@ -252,7 +252,7 @@
 data(obj)
 	  SV* obj
 	CODE:
-	  RETVAL = newSVpv( obj2halfstream(obj)->data ,  obj2halfstream(obj)->count);
+	  RETVAL = newSVpv( obj2halfstream(obj)->data ,  obj2halfstream(obj)->count_new);
 	OUTPUT:
 	  RETVAL
 
