Changeset 95 for osgVisual/src/cluster


Ignore:
Timestamp:
Jul 29, 2010, 8:51:09 PM (14 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/src/cluster/dataIO_clusterENet_implementation.cpp

    r88 r95  
    299299        {
    300300                std::cout << "Client " << (char*)event_->peer->data << " disconnected." << std::endl;
    301 
    302                 /* Reset the peer's client information. */
    303                 delete event_->peer->data;
    304                 event_->peer->data = NULL;
    305301        }
    306302
     
    308304        {
    309305                std::cout << "Server "<< (char*)event_->peer->data<<"disconnected." << std::endl;
    310 
    311                 // Reset the server information
    312                 delete event_->peer->data;
    313                 event_->peer->data = NULL;
    314         }
    315 }
     306        }
     307
     308        // Reset the peer information
     309        event_->peer->data = NULL;
     310}
Note: See TracChangeset for help on using the changeset viewer.