diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-12-29 12:37:06 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-12-29 12:37:06 +0000 |
commit | 86eea3ad3f580d5dc7c2414ec6ff3c289ec5a1bd (patch) | |
tree | 7512cc6ef5d8483bfb5e9a534dd33976fbf7bff8 /capture.c | |
parent | d28f8aa1449b1f4f38cc91cdc28a671e0479e2ba (diff) |
move global capture_child flag into capture_options
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12855 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -69,11 +69,6 @@ #endif #include "ui_util.h" -/* - * Capture options. - */ -gboolean capture_child; /* if this is the child for "-S" */ - /* Win32 needs the O_BINARY flag for open() */ #ifndef O_BINARY @@ -299,7 +294,7 @@ capture_start(capture_options *capture_opts, gboolean *stats_known, struct pcap_ * Catch SIGUSR1, so that we exit cleanly if the parent process * kills us with it due to the user selecting "Capture->Stop". */ - if (capture_child) + if (capture_opts->capture_child) signal(SIGUSR1, stop_capture_signal_handler); #endif |