Skip to content

Commit 804870d

Browse files
committed
bug fix - chunk produces hop list for message.
1 parent 5f4e9a1 commit 804870d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/sharksystem/asap/engine/ASAPMessagesMerger.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,6 @@ public byte[] getMessage(int position, boolean chronologically) throws ASAPExcep
395395
@Override
396396
public ASAPChunk getChunk(int position, boolean chronologically) throws IOException, ASAPException {
397397
SourceIndex sourceIndex = this.getSourceIndex(position, chronologically);
398-
return this.messageSources[sourceIndex.positionInSource].getChunk(sourceIndex.positionInSource, chronologically);
398+
return this.messageSources[sourceIndex.sourceIndex].getChunk(sourceIndex.positionInSource, chronologically);
399399
}
400400
}

0 commit comments

Comments
 (0)