Set the pipe read timeout to 100 milliseconds instead of 100 microseconds.

Should fix bug 5309.

svn path=/trunk/; revision=34938
This commit is contained in:
Gerald Combs 2010-11-17 23:51:31 +00:00
parent da383952df
commit 11a29504b7
1 changed files with 1 additions and 3 deletions

View File

@ -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;