mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-22 17:37:04 +00:00
Compare commits
No commits in common. "d02412720b2a9dc006bfde51b6528628829885de" and "7d562340086dc3f33fc36882daeea722a949c27d" have entirely different histories.
d02412720b
...
7d56234008
1 changed files with 1 additions and 5 deletions
|
@ -54,11 +54,7 @@ static int init_pcap_logger(void *data) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static int deinit_pcap_logger(void) {
|
static int deinit_pcap_logger(void) {
|
||||||
#if defined(_POSIX_SYNCHRONIZED_IO) && (_POSIX_SYNCHRONIZED_IO > 0)
|
|
||||||
fdatasync(pcap_fd);
|
fdatasync(pcap_fd);
|
||||||
#else
|
|
||||||
fsync(pcap_fd);
|
|
||||||
#endif
|
|
||||||
close(pcap_fd);
|
close(pcap_fd);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue