Wireshark-commits: [Wireshark-commits] rev 25492: /trunk/ /trunk/: capture_opts.c capture_opts.h du

Date: Fri, 20 Jun 2008 00:09:50 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=25492

User: guy
Date: 2008/06/19 05:09 PM

Log:
 capture_opts_print_statistics() has nothing to do with capture options
 setting, and is used only in dumpcap.c, and needs to get at information
 set by dumpcap's signal handlers so it can respond to ^C; move it to
 dumpcap.c, rename it print_statistics_loop(), and make it set ld.go to
 TRUE before looping and loop only as long as ld.go is TRUE.
 
 That fixes bug 2592 (at least on Mac OS X, and probably on other UN*Xes;
 it should fix it on Windows as well).

Directory: /trunk/
  Changes    Path              Action
  +0 -93     capture_opts.c    Modified
  +0 -4      capture_opts.h    Modified
  +95 -1     dumpcap.c         Modified