From 19fd1d671bb688d926f1f1c6b7ab4abc304b6db1 Mon Sep 17 00:00:00 2001
From: H.G. Muller <h.g.muller@hccnet.nl>
Date: Sun, 12 Feb 2012 22:53:35 +0100
Subject: [PATCH] Always pass info string with timing info

Even with nopost a sting starting with "info string times @" will be passed
to the GUI as debug output.
---
 UCI2WB.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/UCI2WB.c b/UCI2WB.c
index 53b2f19..a0abcfe 100644
--- a/UCI2WB.c
+++ b/UCI2WB.c
@@ -178,6 +178,7 @@ Engine2GUI()
 	else if(!strcmp(command, "info")) {
 	    int d=0, s=0, t=0, n=0;
 	    char *pv;
+	    if(sscanf(line+5, "string times @ %c", &dummy) == 1) { printf("# %s", line+12); continue; }
 	    if(!post) continue;
 	    if(sscanf(line+5, "string %c", &dummy) == 1) printf("%d 0 0 0 %s", lastDepth, line+12); else {
 		if(p = strstr(line+4, " depth "))      sscanf(p+7, "%d", &d), statDepth = d;
-- 
1.7.0.4