fix wtap_dump_flush function name and don't check for it's return value. We don't do this check in Ethereal either and we will recognize problems at next write anyway ...
svn path=/trunk/; revision=15805
This commit is contained in:
parent
84cf7ce767
commit
79fac68d61
|
@ -1846,10 +1846,7 @@ capture(char *save_file, int out_file_type)
|
|||
}
|
||||
if (ld.output_to_pipe) {
|
||||
if (ld.packet_count > packet_count_prev) {
|
||||
if (wtap_dump_file_flush(ld.pdh)) {
|
||||
volatile_err = errno;
|
||||
ld.go = FALSE;
|
||||
}
|
||||
wtap_dump_flush(ld.pdh);
|
||||
packet_count_prev = ld.packet_count;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue