shithub: neindaw

Download patch

ref: 49765cee0852763c1703d04ea5a867ea7f880bf2
parent: 97b55a85c79a702579882a75a8ea47d5c1d00636
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sun Jan 12 13:24:55 EST 2020

fs: set ofcall.count properly

--- a/fs.c
+++ b/fs.c
@@ -225,6 +225,7 @@
 
 	memmove(b, r->ifcall.data, r->ifcall.count);
 	b[r->ifcall.count] = '\0';
+	r->ofcall.count = r->ifcall.count;
 
 	a = r->fid->file->aux;
 	switch (a->type) {