Ignore:
Timestamp:
08/15/08 21:08:22 (11 years ago)
Author:
Eoin
Message:

Updating HaliteWindow? serialization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/halConfig.cpp

    r541 r542  
    2626        event_log.post(shared_ptr<EventDetail>(new EventMsg(L"Applying BitTorrent session settings.")));         
    2727 
    28         bittorrent().set_mapping(mappingType);   
     28        bittorrent().set_mapping(mapping_upnp_, mapping_nat_pmp_);       
    2929 
    3030        event_log.post(shared_ptr<EventDetail>(new EventMsg( 
    31                         hal::wform(L"Trying port in range %1% - %2%.") % portFrom % portTo))); 
     31                        hal::wform(L"Trying port in range %1% - %2%.") % port_range_.first % port_range_.second))); 
    3232        try 
    3333        { 
    34         bool success = bittorrent().listen_on( 
    35                 std::make_pair(portFrom, portTo)); 
     34        bool success = bittorrent().listen_on(port_range_); 
    3635        if (!success) 
    3736        { 
     
    8483        } 
    8584         
    86         bittorrent().setSessionHalfOpenLimit(halfConnLimit); 
     85        bittorrent().setSessionHalfOpenLimit(half_connections_limit_); 
    8786         
    8887        bittorrent().resume_all();       
Note: See TracChangeset for help on using the changeset viewer.