Permalink
Browse files

Backported fix for http://jira.jboss.com/jira/browse/JGRP-126

  • Loading branch information...
1 parent f5fc55c commit af580e3f2f9eee8338ca4e85a0b9aa2c6fe803df @belaban committed Aug 17, 2005
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/org/jgroups/protocols/UNICAST.java
@@ -1,4 +1,4 @@
-// $Id: UNICAST.java,v 1.20.2.1 2005/08/17 14:21:37 belaban Exp $
+// $Id: UNICAST.java,v 1.20.2.2 2005/08/17 14:22:23 belaban Exp $
package org.jgroups.protocols;
@@ -162,8 +162,8 @@ public void up(Event evt) {
src=msg.getSrc();
switch(hdr.type) {
case UnicastHeader.DATA: // received regular message
- sendAck(src, hdr.seqno);
- handleDataReceived(src, hdr.seqno, hdr.first, msg);
+ if(handleDataReceived(src, hdr.seqno, hdr.first, msg))
+ sendAck(src, hdr.seqno);
break;
case UnicastHeader.DATA_ACK: // received ACK for previously sent message
handleAckReceived(src, hdr.seqno);

0 comments on commit af580e3

Please sign in to comment.