"open_cap_file()", if it succeeds, closes any capture file we had open;
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 15 Aug 1999 22:16:59 +0000 (22:16 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 15 Aug 1999 22:16:59 +0000 (22:16 +0000)
commit491974d193909b329949c845602382507fd9c1c7
tree797f20c293d4d01f19baf1da7eb80cd18765d76a
parent87885a8a46d947a62d8ae93407f955d3c44bd67d
"open_cap_file()", if it succeeds, closes any capture file we had open;
that means it destroys any read filter we had, so we don't need to
destroy it in "capture()" after "open_cap_file()" succeeds.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@498 f5534014-38df-0310-8fa8-9805f1628bb7
capture.c