chiark
/
gitweb
/
~ijackson
/
trains.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clearer debug
[trains.git]
/
hostside
/
gui-plan.c
diff --git
a/hostside/gui-plan.c
b/hostside/gui-plan.c
index 6ae3c58de9a1571397166340ec4982e4d510e82e..3a4b9a893656a7c57042f6cdd440967a555078bf 100644
(file)
--- a/
hostside/gui-plan.c
+++ b/
hostside/gui-plan.c
@@
-248,6
+248,8
@@
static void *stdin_ifok(oop_source *evts, oop_read *cl_read,
if (evt != OOP_RD_OK)
return stdin_iferr(evts,cl_read,evt,errmsg,errnoval,data,recsz,cl_v);
+fprintf(stderr,"gui-plan>%.*s<\n",(int)recsz,data);
+
ps.cl= 0;
ps.remain= data;
ps_needword(&ps);