aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-08-25 22:41:54 +0000
committerGerald Combs <gerald@wireshark.org>2013-08-25 22:41:54 +0000
commita75499aae043c5ac43d8c0c95cc5184537104f76 (patch)
tree384af64a7252ba8688c9cbc0bf901d1b4093b4ef /dumpcap.c
parente5e4d357e398b9f1a9714dd03f7790215fd82fe4 (diff)
Check our recently-added signal pipe in statistics mode.
svn path=/trunk/; revision=51519
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dumpcap.c b/dumpcap.c
index 10cacbd941..99e0492cf2 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -1513,6 +1513,10 @@ print_statistics_loop(gboolean machine_readable)
}
}
#ifdef _WIN32
+ /* If we have a dummy signal pipe check it */
+ if (!signal_pipe_check_running()) {
+ global_ld.go = FALSE;
+ }
Sleep(1 * 1000);
#else
sleep(1);