Changeset 5450 for source


Ignore:
Timestamp:
Jul 29, 2009, 7:00:40 PM (15 years ago)
Author:
Christoph Mayer
Message:
 
File:
1 edited

Legend:

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

    r5436 r5450  
    191191
    192192                if( table->get_successor() != NULL ){
    193                         nodelist.push_back( *(table->get_successor()) );
     193
     194                        OverlayInterface::NodeList::iterator i =
     195                                std::find( nodelist.begin(), nodelist.end(), *(table->get_successor()) );
     196                        if( i == nodelist.end() )
     197                                nodelist.push_back( *(table->get_successor()) );
    194198                }
    195199        }
Note: See TracChangeset for help on using the changeset viewer.