Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 24, 2006, 10:52:34 AM (18 years ago)
Author:
patrick
Message:

found server bug: initialization order inconsistency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/network_manager.cc

    r9404 r9405  
    105105int NetworkManager::createMasterServer(unsigned int port)
    106106{
     107  // load the network settings
     108  NetworkSettings::getInstance()->loadData();
     109
    107110  // create the network stream
    108111  this->networkStream = new NetworkStream(NET_MASTER_SERVER);
     
    123126int NetworkManager::createProxyServer(unsigned int port)
    124127{
     128  // load the network settings
     129  NetworkSettings::getInstance()->loadData();
     130
    125131  // create the network stream
    126132  this->networkStream = new NetworkStream(NET_PROXY_SERVER_ACTIVE);
     
    148154int NetworkManager::createClient(const std::string & name, unsigned int port)
    149155{
     156  // load the network settings
     157  NetworkSettings::getInstance()->loadData();
     158
    150159  // create the network stream
    151160  this->networkStream = new NetworkStream(NET_CLIENT);
Note: See TracChangeset for help on using the changeset viewer.