Skip to content

Commit 127fad4

Browse files
authored
Change tailOffset condition check in Parser.h
1 parent 7b9b14b commit 127fad4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Algorithm/include/Algorithm/Parser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ class ForwardParser
189189
entry.length = frameSize - totalOffset;
190190

191191
// optionally extract and check trailer
192-
if (tailOffset > 0) {
192+
if (tailOffset == 0) {
193193
entry.trailer = nullptr;
194194
} else {
195195
auto trailerStart = buffer + position + frameSize - tailOffset;

0 commit comments

Comments
 (0)