- Timestamp:
- Feb 4, 2010, 5:29:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/bootstrap/modules/periodicbroadcast/PeriodicBroadcast.cpp
r5838 r7532 63 63 const unsigned int PeriodicBroadcast::serverport_v6 = 5636; 64 64 65 PeriodicBroadcast::PeriodicBroadcast(BootstrapInformationCallback* _callback )65 PeriodicBroadcast::PeriodicBroadcast(BootstrapInformationCallback* _callback, string info) 66 66 : BootstrapModule(_callback), 67 67 server(io_service, &newRemoteServices, &newRemoteServicesMutex) { … … 108 108 109 109 boost::mutex::scoped_lock lock( localServicesMutex ); 110 if(name.empty()) return; 111 110 112 localServices.insert( std::make_pair(name, service) ); 111 113 } … … 113 115 void PeriodicBroadcast::revokeService(string name){ 114 116 boost::mutex::scoped_lock lock( localServicesMutex ); 117 if(name.empty()) return; 115 118 116 119 ServiceList::iterator i = localServices.find( name );
Note:
See TracChangeset
for help on using the changeset viewer.