diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-09-14 23:15:12 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-09-14 23:15:12 +0000 |
commit | 79fac68d61054104dad933ad6ca3242643863077 (patch) | |
tree | f5cd9f463ff9aaf0a36fba846ebc35ac8513a5cd /tethereal.c | |
parent | 84cf7ce7675b450311dcec0b34b785974b2e85d0 (diff) | |
download | wireshark-79fac68d61054104dad933ad6ca3242643863077.tar.gz |
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
Diffstat (limited to 'tethereal.c')
-rw-r--r-- | tethereal.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tethereal.c b/tethereal.c index 7b60c68157..c29d02e972 100644 --- a/tethereal.c +++ b/tethereal.c @@ -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; } } |