Browse Source

Check state at the input end

master
JustAnotherArchivist 1 year ago
parent
commit
27950fdc52
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      warc-dump-responses.c

+ 4
- 0
warc-dump-responses.c View File

@@ -149,4 +149,8 @@ checkstate:
}
}
}
if (state != STATE_BEFORE_RECORD) {
fprintf(stderr, "Error: incomplete record at the end of input\n");
return 1;
}
}

Loading…
Cancel
Save