Commit e5d94fda authored by Berk Geveci's avatar Berk Geveci
Browse files

Should not print the second error if the first one already occured

parent 8631aad2
......@@ -147,7 +147,7 @@ void vtkPVSendStreamToClientServerNodeRMI(void *localArg, void *remoteArg,
//----------------------------------------------------------------------------
vtkStandardNewMacro(vtkPVClientServerModule);
vtkCxxRevisionMacro(vtkPVClientServerModule, "1.2.2.2");
vtkCxxRevisionMacro(vtkPVClientServerModule, "1.2.2.3");
//----------------------------------------------------------------------------
......@@ -286,7 +286,7 @@ void vtkPVClientServerModule::Initialize()
// Check if versions matched
int tmpmatch;
this->SocketController->Receive(&tmpmatch, 1, 1, 8843);
if (!tmpmatch)
if (dsmatch && !tmpmatch)
{
vtkErrorMacro("Client and data server versions do not match. "
"Please make sure that you are using the right "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment