Ignore:
Timestamp:
May 26, 2009, 9:35:48 AM (15 years ago)
Author:
mies
Message:

fixed <unspec> errors with chord

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/overlay/modules/chord/Chord.cpp

    r3690 r3693  
    7070}
    7171
    72 // helper: sets up a link using the base overlay
     72/// helper: sets up a link using the base overlay
    7373LinkID Chord::setup(const EndpointDescriptor& endp) {
    7474
     
    7878}
    7979
    80 // helper: sends a message using the "base overlay"
     80/// helper: sends a message using the "base overlay"
    8181seqnum_t Chord::send(Message* msg, const LinkID& link) {
     82        if (link.isUnspecified()) return 0;
    8283        return baseoverlay.sendMessage(msg, link);
    8384}
    8485
     86/// sends a discovery message
    8587void Chord::send_discovery_to(const NodeID& destination, int ttl) {
    8688        logging_debug("Initiating discovery of " << destination.toString() );
     
    192194        M* m = msg.getMessage()->convert<ChordMessage> ();
    193195        if (m == NULL) return;
    194 
    195         logging_debug("onMessage: type=" << (int)m->getType() );
    196196
    197197        // handle messages
Note: See TracChangeset for help on using the changeset viewer.