projects
/
uci2wb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b7c746a
)
Always pass info string with timing info
author
H.G. Muller
<h.g.muller@hccnet.nl>
Sun, 12 Feb 2012 21:53:35 +0000 (22:53 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Mon, 13 Feb 2012 13:10:05 +0000 (14:10 +0100)
Even with nopost a sting starting with "info string times @" will be passed
to the GUI as debug output.
UCI2WB.c
patch
|
blob
|
history
diff --git
a/UCI2WB.c
b/UCI2WB.c
index
53b2f19
..
a0abcfe
100644
(file)
--- a/
UCI2WB.c
+++ b/
UCI2WB.c
@@
-178,6
+178,7
@@
Engine2GUI()
else if(!strcmp(command, "info")) {
\r
int d=0, s=0, t=0, n=0;
\r
char *pv;
\r
+ if(sscanf(line+5, "string times @ %c", &dummy) == 1) { printf("# %s", line+12); continue; }
\r
if(!post) continue;
\r
if(sscanf(line+5, "string %c", &dummy) == 1) printf("%d 0 0 0 %s", lastDepth, line+12); else {
\r
if(p = strstr(line+4, " depth ")) sscanf(p+7, "%d", &d), statDepth = d;
\r