Skip to content

Commit

Permalink
revert #339
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Jul 15, 2024
1 parent dad6a3a commit 62901cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hcxpcapngtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -5690,7 +5690,7 @@ if(testgzipfile(pcapinname) == true)
}
#endif
jtrbasenamedeprecated = pcapinname;
fd_pcap = open(pcapnameptr, O_RDONLY | O_BINARY);
fd_pcap = open(pcapnameptr, O_RDONLY);
if(fd_pcap == -1)
{
perror("failed to open file");
Expand Down

0 comments on commit 62901cb

Please sign in to comment.