X-Git-Url: http://winboard.nl/cgi-bin?p=polyglot.git;a=blobdiff_plain;f=xboard2uci.c;h=80e0a623a9e861d07ba8b9958048e6f38a3684a9;hp=1445dfe6746eb7d7fe5b7eff6efe7679567597ce;hb=e516b96c20d27e7d86d3485b010d6d48cecec9f1;hpb=ef1e622dcb7d87af51c1ba85c5985a7c3b6f28ee diff --git a/xboard2uci.c b/xboard2uci.c index 1445dfe..80e0a62 100644 --- a/xboard2uci.c +++ b/xboard2uci.c @@ -305,7 +305,7 @@ void xboard2uci_gui_step(char string[]) { } else if (match(string,"new")) { - uci_send_isready(Uci); + uci_send_isready_sync(Uci); my_log("POLYGLOT NEW GAME\n"); option_set(Option,"Chess960","false"); @@ -356,7 +356,7 @@ void xboard2uci_gui_step(char string[]) { if (DelayPong) { if (XB->ping >= 0) gui_send(GUI,"pong %d",XB->ping); // HACK: get rid of old ping XB->ping = atoi(Star[0]); - uci_send_isready(Uci); + uci_send_isready_sync(Uci); } else { ASSERT(XB->ping==-1); gui_send(GUI,"pong %s",Star[0]);