summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump
diff options
context:
space:
mode:
authorgad <gad@FreeBSD.org>2000-12-02 00:07:56 +0000
committergad <gad@FreeBSD.org>2000-12-02 00:07:56 +0000
commit2b0e48c014b3752cb18b4108f2857f52c32094a7 (patch)
tree23ccd94621527744b665cb9474ed4efeb7d5e79c /contrib/tcpdump
parent6a64e36210e572b4242fa2a9b9db3599d7e8e30d (diff)
downloadFreeBSD-src-2b0e48c014b3752cb18b4108f2857f52c32094a7.zip
FreeBSD-src-2b0e48c014b3752cb18b4108f2857f52c32094a7.tar.gz
Fix some error-handling logic so that ferror is called before fclose,
instead of immediately after the fclose. The previous logic did work on freebsd, but is somewhat risky practice (and causes trouble when porting to other OS's). PR: bin/22965 Reviewed by: Garrett Wollman
Diffstat (limited to 'contrib/tcpdump')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud