Changeset 6944 for source


Ignore:
Timestamp:
Nov 17, 2009, 4:26:04 PM (14 years ago)
Author:
mies
Message:
 
Location:
source/ariba
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/SideportListener.cpp

    r5945 r6944  
    5656
    5757string SideportListener::getEndpointDescription( const LinkID& link ) const {
    58         if( overlay == NULL ) return "";
     58        if( overlay == NULL ) {
     59                std::cerr << "Sideport: No overlay found." << std::endl;
     60                return "";
     61        }
     62        std::cerr << "WTF!!!" << std::endl;
    5963        return overlay->getEndpointDescriptor(link).toString();
    6064}
    6165
    6266string SideportListener::getEndpointDescription( const NodeID& node ) const {
    63         if( overlay == NULL ) return "";
     67        if( overlay == NULL ) {
     68                std::cerr << "Sideport: No overlay found." << std::endl;
     69                return "";
     70        }
    6471        return overlay->getEndpointDescriptor(node).toString();
    6572}
  • source/ariba/communication/BaseCommunication.cpp

    r6919 r6944  
    241241
    242242const EndpointDescriptor& BaseCommunication::getEndpointDescriptor(const LinkID link) const {
    243         if( link == LinkID::UNSPECIFIED){
     243        if( link.isUnspecified() ){
    244244                return localDescriptor;
    245245        } else {
  • source/ariba/overlay/BaseOverlay.cpp

    r6939 r6944  
    11481148                const EndpointDescriptor& ep =
    11491149                                bc->getEndpointDescriptor(ld->communicationId);
    1150                 if(ep.toString() == "") continue;
    11511150                if(ep != EndpointDescriptor::UNSPECIFIED()) {
    11521151                        logging_info("getEndpointDescriptor: using " << ld->to_string());
Note: See TracChangeset for help on using the changeset viewer.