Changeset 3709


Ignore:
Timestamp:
May 26, 2009, 5:17:36 PM (15 years ago)
Author:
mies
Message:
 
File:
1 edited

Legend:

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

    r3699 r3709  
    342342                stabilize_finger = ((stabilize_finger+1) % table->get_finger_table_size() );
    343343                logging_debug("Sending discovery message to my neighbors and fingers");
    344                 NodeID disc1 = nodeid;
    345                 NodeID disc2 =
    346                         table->get_finger_table(stabilize_finger).get_compare().get_center();
     344                const NodeID& disc1 = nodeid;
     345                const NodeID& disc2 = table->get_finger_table(stabilize_finger).get_compare().get_center();
    347346                send_discovery_to(disc1);
    348347                if (disc1 != disc2) send_discovery_to(disc2);
Note: See TracChangeset for help on using the changeset viewer.