[PATCH] Handle case where an AI sends an invalid message and then crashes
[progcomp2012.git] / judge / manager / program.cpp
index c936de3..00a28e9 100644 (file)
@@ -251,6 +251,7 @@ bool Program::GetMessage(string & buffer, double timeout)
                buffer += c;
        }
        //fprintf(stderr, "%s\n", buffer.c_str());
+       //fprintf(stderr,"DONE\n");
        return true;
 
        /* Old way, using threads, which apparently is terrible

UCC git Repository :: git.ucc.asn.au