An Overlay-based
Virtual Network Substrate
SpoVNet

Ignore:
Timestamp:
Aug 3, 2009, 5:39:13 PM (10 years ago)
Author:
Christoph Mayer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.cpp

    r5632 r5633  
    6666BluetoothSdp::BluetoothSdp(BootstrapInformationCallback* _callback) :
    6767        BootstrapModule(_callback), scan_timer_(io_service_) {
    68         srand( time(NULL) ), found(false);
     68        srand( time(NULL) );
     69        found = false;
    6970#ifdef HAVE_BLUETOOTH_BLUETOOTH_H
    7071
     
    299300                int nextscan = (rand() % 30) + 5;
    300301                logging_debug("next sdp scan in " << nextscan << " seconds");
    301         }
    302 
    303         scan_timer_.expires_from_now( boost::posix_time::seconds(nextscan) );
    304         scan_timer_.async_wait( boost::bind(&BluetoothSdp::bt_scan, this) );
     302
     303
     304                scan_timer_.expires_from_now( boost::posix_time::seconds(nextscan) );
     305                scan_timer_.async_wait( boost::bind(&BluetoothSdp::bt_scan, this) );
     306        }
    305307}
    306308
Note: See TracChangeset for help on using the changeset viewer.