We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b9b14b commit 127fad4Copy full SHA for 127fad4
1 file changed
Algorithm/include/Algorithm/Parser.h
@@ -189,7 +189,7 @@ class ForwardParser
189
entry.length = frameSize - totalOffset;
190
191
// optionally extract and check trailer
192
- if (tailOffset > 0) {
+ if (tailOffset == 0) {
193
entry.trailer = nullptr;
194
} else {
195
auto trailerStart = buffer + position + frameSize - tailOffset;
0 commit comments