Permalink
Browse files

fixed incorrect size() in RelayHeader

  • Loading branch information...
1 parent 771bef1 commit 20d58401c5e2ec7680e5323fd62d499cf948014a Bela Ban committed Nov 18, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/org/jgroups/protocols/RELAY.java
@@ -273,8 +273,7 @@ public RelayHeader(Type type, Address original_sender) {
public int size() {
int retval=Global.BYTE_SIZE; // type
- if(original_sender != null)
- retval+=Util.size(original_sender);
+ retval+=Util.size(original_sender);
return retval;
}

0 comments on commit 20d5840

Please sign in to comment.