X-Git-Url: http://winboard.nl/cgi-bin?p=polyglot.git;a=blobdiff_plain;f=epd.cpp;h=70537da8cc857dd7c9e6b67aa5b2fecb4e1a6237;hp=18c51909f3a42c9ad83ae0a6eb9d09566b3094ec;hb=6442b61046f46f65bfc4bf0b3727abe2dc27acb8;hpb=e7a2abd9bd4fce9ebbd70793b00d9d5f99886348 diff --git a/epd.cpp b/epd.cpp index 18c5190..70537da 100644 --- a/epd.cpp +++ b/epd.cpp @@ -241,7 +241,7 @@ static void epd_test_file(const char file_name[]) { // parse engine output - while (engine_step()) { + while (!engine_eof(Engine) && engine_step()) { bool stop=false; // stop search?