- Timestamp:
- Aug 3, 2009, 12:47:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/BaseCommunication.cpp
r5615 r5616 65 65 } 66 66 endpoint_reference ref; 67 ref.endpoint = endpoint ;67 ref.endpoint = endpoint->clone(); 68 68 ref.count = 0; 69 69 remote_endpoints.push_back(ref); … … 79 79 logging_info("No more links to " << i->endpoint->to_string() << ": terminating transports!"); 80 80 transport->terminate(i->endpoint); 81 delete i->endpoint; 81 82 remote_endpoints.erase(i); 82 83 } … … 367 368 ld->remoteLocator = remote->clone(); 368 369 ld->remoteEndpoint = msg->getLocalDescriptor(); 369 add_endpoint(ld );370 add_endpoint(ld->remoteLocator); 370 371 371 372 // add layer 1-3 addresses … … 431 432 ); 432 433 ld.up = true; 433 add_endpoint(ld );434 add_endpoint(ld->remoteLocator); 434 435 435 436 logging_debug( "Link is now up with local id "
Note:
See TracChangeset
for help on using the changeset viewer.