Changeset 5436 for source


Ignore:
Timestamp:
Jul 29, 2009, 4:56:50 PM (15 years ago)
Author:
Christoph Mayer
Message:
 
Location:
source/ariba
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/SideportListener.cpp

    r5359 r5436  
    7979        if( overlay == NULL ) return nodes;
    8080
    81         overlay->getOverlayNeighbors(deep);
     81        nodes = overlay->getOverlayNeighbors(deep);
     82        return nodes;
    8283}
    8384
  • source/ariba/SideportListener.h

    r5316 r5436  
    4242#include <vector>
    4343#include <map>
     44#include <iostream>
    4445#include <boost/foreach.hpp>
    4546#include "Identifiers.h"
    4647#include "CommunicationListener.h"
    4748
     49using std::cout;
    4850using std::map;
    4951using std::vector;
  • source/ariba/overlay/BaseOverlay.cpp

    r5435 r5436  
    14481448        // the known nodes _can_ also include our node, so we remove ourself
    14491449        vector<NodeID> nodes = overlayInterface->getKnownNodes(deep);
     1450
    14501451        vector<NodeID>::iterator i = find( nodes.begin(), nodes.end(), this->nodeId );
    14511452        if( i != nodes.end() ) nodes.erase( i );
     1453
    14521454        return nodes;
    14531455}
  • source/ariba/overlay/modules/chord/Chord.cpp

    r5433 r5436  
    189189                        nodelist.push_back( *(table->get_predesessor()) );
    190190                }
    191                
     191
    192192                if( table->get_successor() != NULL ){
    193193                        nodelist.push_back( *(table->get_successor()) );
Note: See TracChangeset for help on using the changeset viewer.