From b365b5a5316a03c8e2d4a6d615eab0a8c0ad4577 Mon Sep 17 00:00:00 2001 From: ian Date: Fri, 5 May 2006 19:54:27 +0000 Subject: [PATCH] bugfix --- hostside/startup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hostside/startup.c b/hostside/startup.c index 4685db1..6733506 100644 --- a/hostside/startup.c +++ b/hostside/startup.c @@ -139,7 +139,7 @@ void serial_moredata(PicInsn *buf) { found_end: /* Aha! */ - buf->l= ep - buf->d; + buf->l= ep - buf->d + 1; ouhex("picioh in msg", buf->d, buf->l); picinsn_decode(buf, pic_reply_infos, &pii, &objnum); if (!pii) { oprintf(UPO, "picio in unknown\n"); return; } -- 2.30.2