Skip to content

Commit

Permalink
open-dis#68: Stupid bug in test fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
abutler committed Mar 12, 2020
1 parent 56cf739 commit 004150a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/edu/nps/moves/disutil/ExperimentalPdu.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void setBody(byte[] body) {
@Override
public void setPduLength(int pPduLength) {
super.setPduLength(pPduLength);
body = new byte[pPduLength = super.getMarshalledSize()];
body = new byte[pPduLength - super.getMarshalledSize()];
}

@Override
Expand Down

0 comments on commit 004150a

Please sign in to comment.