Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c669d786e |
1 changed files with 1 additions and 1 deletions
|
|
@ -290,7 +290,7 @@ int is_binary(const void *buf, const size_t buf_len) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (buf_len >= 4 && strncmp(buf, "%PDF-", 4) == 0) {
|
||||
if (buf_len >= 4 && strncmp(buf, "%PDF-", 5) == 0) {
|
||||
/* PDF. This is binary. */
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue