Permalink
Browse files

Fixed bug in send

  • Loading branch information...
1 parent 56e53b8 commit 32ef39dd96fa60e3d143b662d2cc1cf2094b5649 @aallai committed Dec 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 core.py
View
2 core.py
@@ -48,7 +48,7 @@ def send(sender, receiver, data) :
send_range(receiver.mlist[i], segments[i * messages_per_medium : i*messages_per_medium + messages_per_medium], receiver.key, mid)
if (med_len * messages_per_medium % seq_len != 0) :
- send_range(receiver.mlist[0], segments[med_len * messages_per_medium :], sender.key, mid)
+ send_range(receiver.mlist[0], segments[med_len * messages_per_medium :], receiver.key, mid)

0 comments on commit 32ef39d

Please sign in to comment.