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

Legend:

Unmodified
Added
Removed
  • source/ariba/SideportListener.cpp

    r5772 r5773  
    107107SideportListener::Protocol SideportListener::getReachabilityProtocol(const NodeID& node){
    108108        int ret = SideportListener::undefined;
    109         if( overlay == NULL ){
    110                 cout << "XXXXXXXXXXXXx invalid overlay" << std::endl;
    111                 return (Protocol)ret;
    112         }
     109        if( overlay == NULL ) return (Protocol)ret;
    113110
    114111        using namespace ariba::addressing;
    115112
    116113        LinkDescriptor* link = overlay->getSendDescriptor(node);
    117         if (link==NULL){
    118                 cout << "XXXXXXXXXXXXx invalid linkdescriptor for " << node.toString() << std::endl;
    119                 return (Protocol)ret;
    120         }
     114        if (link==NULL) return (Protocol)ret;
    121115
    122116        BaseCommunication::LinkDescriptor& bclink =
    123117                overlay->bc->queryLocalLink(link->communicationId);
    124118
    125         if(bclink.isUnspecified() || bclink.localLocator == NULL){
    126                 cout << "XXXXXXXXXXXXx bclink for node " << node.toString() << std::endl;
     119        if(bclink.isUnspecified() || bclink.remoteLocator == NULL){
     120                cout << "XXXXXXXXXXXXx invalid bclink for node " << node.toString() << std::endl;
    127121                return (Protocol)ret;
    128122        }
Note: See TracChangeset for help on using the changeset viewer.