version 1.4w10UCIb17
[polyglot.git] / search.cpp
index a867d24..b231882 100644 (file)
@@ -105,7 +105,7 @@ void search(const board_t * board, int depth_max, double time_max) {
 \r
    // wait for feed-back\r
 \r
-   while (true) {\r
+   while (!engine_eof(Engine)) {\r
 \r
       engine_get(Engine,string,256);\r
 \r