Changeset 8620 for source/ariba/communication
- Timestamp:
- Oct 4, 2010, 2:27:16 PM (14 years ago)
- Location:
- source/ariba/communication
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/BaseCommunication.cpp
r8606 r8620 279 279 class DispatchMsg { 280 280 public: 281 DispatchMsg() : local(NULL), remote(NULL), message(NULL) {} 281 282 address_v* local; 282 283 address_v* remote; … … 385 386 if( !allowlink ){ 386 387 logging_warn( "Overlay denied creation of link" ); 388 delete msg; 387 389 return; 388 390 } … … 447 449 if (ld.isUnspecified()) { 448 450 logging_warn("Failed to find local link " << msg->getRemoteLink().toString()); 451 delete msg; 449 452 return; 450 453 } … … 458 461 ); 459 462 460 461 463 localDescriptor.getEndpoints().add( 462 464 msg->getRemoteDescriptor().getEndpoints(), … … 492 494 if (linkDesc.isUnspecified()) { 493 495 logging_warn("Failed to find local link " << localLink.toString()); 496 delete msg; 494 497 return; 495 498 } … … 521 524 logging_warn("Failed to update local link " 522 525 << localLink.toString()); 526 delete msg; 523 527 return; 524 528 } … … 543 547 } 544 548 } 549 545 550 delete msg; 546 551 } -
source/ariba/communication/networkinfo/AddressDiscovery.cpp
r8606 r8620 77 77 endpoint_set* set = (endpoint_set*)arg; 78 78 struct hci_dev_info di; 79 memset(&di, 0, sizeof(struct hci_dev_info)); 79 80 di.dev_id = dev_id; 80 81 if (ioctl(s, HCIGETDEVINFO, (void *) &di)) return 0;
Note:
See TracChangeset
for help on using the changeset viewer.