Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9301 in orxonox.OLD


Ignore:
Timestamp:
Jul 17, 2006, 10:25:00 AM (18 years ago)
Author:
patrick
Message:

fixed a segfault.

Location:
branches/proxy/src/lib/network
Files:
2 edited

Legend:

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

    r9300 r9301  
    5353
    5454  // assuming that the config files are already read we get the proxy servers
    55   std::vector<IPaddress*>* proxyList = &ProxySettings::getInstance()->getProxyList();
     55  std::vector<IPaddress*>* proxyList = ProxySettings::getInstance()->getProxyList();
    5656  std::vector<IPaddress*>::iterator it = proxyList->begin();
    5757  // create a peer info class and a network node class for each new proxy and add them to the passive list
  • branches/proxy/src/lib/network/proxy/proxy_settings.h

    r9300 r9301  
    3434
    3535    /** @returns the list of proxy servers from the init file */
    36     inline std::vector<IPaddress*> getProxyList() { return this->proxies; }
     36    inline std::vector<IPaddress*>* getProxyList() { return &this->proxies; }
    3737
    3838
Note: See TracChangeset for help on using the changeset viewer.