shithub: 9pro

Download patch

ref: 51a3863bf5a500ae466ea29bed10615bc12f0ad0
parent: 290a0bec7f7c1328a98ac7a367de62f8d5d6b2b7
author: Sigrid Haflínudóttir <[email protected]>
date: Mon Dec 23 08:52:06 EST 2019

with -d -d show when the data is sent to the client

--- a/9pex.c
+++ b/9pex.c
@@ -147,6 +147,8 @@
 		perror("write");
 		return -1;
 	}
+	if (debug >= 2)
+		trace("<- %d bytes, %d left\n", wrend, wroff-wrend);
 	memmove(wrbuf, wrbuf+wrend, wroff-wrend);
 	wroff = wroff - wrend;