Skip to content
Snippets Groups Projects
Commit a835efbc authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

report error on blank message only for messages other than info/warning/etc.

parent 4bc5c285
Branches
Tags
No related merge requests found
......@@ -179,7 +179,11 @@ bool gmshLocalNetworkClient::receiveMessage(gmshLocalNetworkClient *master)
return false;
}
if(message == blank){
if(message == blank && !(type == GmshSocket::GMSH_PROGRESS ||
type == GmshSocket::GMSH_INFO ||
type == GmshSocket::GMSH_WARNING ||
type == GmshSocket::GMSH_ERROR)){
// we should still allow blank msg strings to be sent
Msg::Error("Abnormal server termination (blank message: client not stopped?)");
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment