Changeset 77 for osgVisual/src
- Timestamp:
- Jul 25, 2010, 5:05:29 PM (14 years ago)
- Location:
- osgVisual/src/cluster
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/src/cluster/dataIO_clusterENet.cpp
r75 r77 171 171 if ( rw ) 172 172 { 173 std::stringstream t est;174 t est<< receivedTransportContainer;175 osgDB::ReaderWriter::ReadResult rr = rw->readObject( t est, readOptions );173 std::stringstream tmp; 174 tmp << receivedTransportContainer; 175 osgDB::ReaderWriter::ReadResult rr = rw->readObject( tmp, readOptions ); 176 176 if (rr.success()) 177 177 { -
osgVisual/src/cluster/dataIO_clusterENet_implementation.cpp
r69 r77 25 25 { 26 26 std::cout << "Instantiated server class# "<< activeENetInstances << std::endl; 27 serverInitialized = false;27 enetInitialized = false; 28 28 host = NULL; 29 29 // Start ENet … … 98 98 } // IF CLIENT END 99 99 100 serverInitialized = true;100 enetInitialized = true; 101 101 return true; 102 102 } … … 104 104 void dataIO_clusterENet_implementation::processEvents(int timeout_ms_) 105 105 { 106 if(! serverInitialized)106 if(!enetInitialized) 107 107 return; 108 108
Note: See TracChangeset
for help on using the changeset viewer.