chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3784d94
)
bugfix
author
ian
<ian>
Fri, 5 May 2006 19:54:27 +0000
(19:54 +0000)
committer
ian
<ian>
Fri, 5 May 2006 19:54:27 +0000
(19:54 +0000)
hostside/startup.c
patch
|
blob
|
history
diff --git
a/hostside/startup.c
b/hostside/startup.c
index 4685db187ca0bf8384417860706d913c43c6521e..673350612c57707ac41d5d169767f81cc9d44524 100644
(file)
--- 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; }