aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2010-11-17 23:51:31 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2010-11-17 23:51:31 +0000
commit08b744b33e2a2e2965efd0afe86d29d0b88fbbd1 (patch)
tree93082dde7e37551bd95f8f94b51cace8072e736e /dumpcap.c
parent2f311163e42f3b934db1bcadcaa7187c6f42856e (diff)
Set the pipe read timeout to 100 milliseconds instead of 100 microseconds.
Should fix bug 5309. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34938 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/dumpcap.c b/dumpcap.c
index f323f43ccc..818551dc59 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -299,13 +299,11 @@ static gboolean need_timeout_workaround;
* in OS X 10.6, 10.6.1, 10.6.3, and 10.6.4, so we always use a timeout
* of 250ms, i.e. the same value as CAP_READ_TIMEOUT when not on one
* of the offending versions of Snow Leopard.
- *
- * XXX - why is it 100 for threaded capturing?
*/
#ifndef USE_THREADS
#define PIPE_READ_TIMEOUT 250000
#else
-#define PIPE_READ_TIMEOUT 100
+#define PIPE_READ_TIMEOUT 100000
#endif
static const char *cap_pipe_err_str;