X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=UCI2WB.c;h=bac4bcb6496573ff9f8c77171026eba60ac7631d;hb=0168204e5e2883c2e5ed733329bd8cf255a4337d;hp=1cb0a1656b06c9d06064fd3377e2047176a8d966;hpb=8d90214e278c27dbf72b24383ac9e3ad24d54a27;p=uci2wb.git diff --git a/UCI2WB.c b/UCI2WB.c index 1cb0a16..bac4bcb 100644 --- a/UCI2WB.c +++ b/UCI2WB.c @@ -468,8 +468,12 @@ GUI2Engine() StopSearch(1); } else if(!strcmp(command, "xboard")) ; + else if(!strcmp(command, "random")) ; else if(!strcmp(command, "accepted")) ; else if(!strcmp(command, "rejected")) ; + else if(!strcmp(command, "book")) ; + else if(!strcmp(command, "ics")) ; + else if(!strcmp(command, "hint")) ; else if(!strcmp(command, "computer")) comp = 1; else { //convert easy & hard to "option" after treating their effect on the adapter if(!strcmp(command, "easy")) { @@ -620,6 +624,7 @@ DoCommand () computer = NONE; } else if(!strcmp(command, "quit")) { EPRINT((f, "# quit\n")) fflush(toE), exit(atoi(line+4)); } + else printf("Error (unknown command): %s\n", command); fflush(stdout); }