shithub: gefs

Download patch

ref: b33fa323a1d0194b79f6e1aabb88829767a43ba3
parent: 9ad8b287aa29320289b19fa2006f1fc35e1658ee
author: Ori Bernstein <[email protected]>
date: Sun Nov 28 17:51:10 EST 2021

pack: clean up junky dprints.

--- a/pack.c
+++ b/pack.c
@@ -242,11 +242,8 @@
 
 	if(kv2dir(kv, &d) == -1)
 		return -1;
-	dprint("have %d bytes to pack into\n", nbuf);
-	if((n = convD2M(&d, (uchar*)buf, nbuf)) <= BIT16SZ){
-		fprint(2, "here...failed convert??, needed %d\n", GBIT16(buf));
+	if((n = convD2M(&d, (uchar*)buf, nbuf)) <= BIT16SZ)
 		return -1;
-	}
 	return n;	
 }