https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15711

--- Comment #8 from Guy Harris <g...@alum.mit.edu> ---
For what it's worth, dumpcap calls WSAStartup() twice - once, in main(), with
version 1.1, and once, in capture_loop_open_input(), with version 2.2.

Perhaps we should call it in main() with version 2.2, and not call it in
capture_loop_open_input().

The same applies to WSACleanup() - it's called in exit_main() and in
capture_loop_close_input(); we should probably just call it in exit_main(), not
capture_loop_close_input(), along with the previous change.

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to