Add the line before the returns as you have shown. Thanks, Utkarsh
On Sat, Feb 28, 2009 at 6:37 AM, Ricardo Reis <[email protected]> wrote: > On Fri, 27 Feb 2009, Utkarsh Ayachit wrote: > >> Can you try adding >> >> cout << __LINE__ << endl; >> >> to every place where 0 is returned in >> >> vtkSocketCommunicator::ClientSideHandshake/vtkSocketCommunicator::ServerSideHandshake >> and then compile and send me the result? > > Shall I replace the 0, add the line before the return or right after the 0? > > For instance, here: > > > if(!this->SendTagged(&IAmBE, static_cast<int>(sizeof(char)), > 1, vtkSocketController::ENDIAN_TAG, 0)) > { > if (this->ReportErrors) > { > vtkErrorMacro("Endian handshake failed."); > } > return 0; > } > > Shall it be like: > > if(!this->SendTagged(&IAmBE, static_cast<int>(sizeof(char)), > 1, vtkSocketController::ENDIAN_TAG, 0)) > { > if (this->ReportErrors) > { > vtkErrorMacro("Endian handshake failed."); > } > > cout << __LINE__ << endl; > return 0; > } > > ? > > > > Ricardo Reis > > 'Non Serviam' > > PhD student @ Lasef > Computational Fluid Dynamics, High Performance Computing, Turbulence > http://www.lasef.ist.utl.pt > > & > > Cultural Instigator @ Rádio Zero > http://www.radiozero.pt > > http://www.flickr.com/photos/rreis/ _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
