Changeset 5772 for source/ariba


Ignore:
Timestamp:
Aug 7, 2009, 12:34:49 PM (15 years ago)
Author:
Christoph Mayer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/SideportListener.cpp

    r5689 r5772  
    107107SideportListener::Protocol SideportListener::getReachabilityProtocol(const NodeID& node){
    108108        int ret = SideportListener::undefined;
    109         if( overlay == NULL ) return (Protocol)ret;
     109        if( overlay == NULL ){
     110                cout << "XXXXXXXXXXXXx invalid overlay" << std::endl;
     111                return (Protocol)ret;
     112        }
    110113
    111114        using namespace ariba::addressing;
    112115
    113116        LinkDescriptor* link = overlay->getSendDescriptor(node);
    114         if (link==NULL) return (Protocol)ret;
     117        if (link==NULL){
     118                cout << "XXXXXXXXXXXXx invalid linkdescriptor for " << node.toString() << std::endl;
     119                return (Protocol)ret;
     120        }
    115121
    116122        BaseCommunication::LinkDescriptor& bclink =
    117123                overlay->bc->queryLocalLink(link->communicationId);
    118124
    119         if(bclink.isUnspecified() || bclink.localLocator == NULL) return (Protocol)ret;
     125        if(bclink.isUnspecified() || bclink.localLocator == NULL){
     126                cout << "XXXXXXXXXXXXx bclink for node " << node.toString() << std::endl;
     127                return (Protocol)ret;
     128        }
    120129
    121130        const address_v* locator = bclink.remoteLocator;
Note: See TracChangeset for help on using the changeset viewer.