From a16048ba080488ad03886bfd2025acd02dcdeecc Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Fri, 5 Feb 2010 08:28:32 +0100 Subject: lib: fix merge foobar in thread_fetch well, turns out FreeBSD and NetBSD don't like waiting for a negative amount of time... and there i was hoping for a time machine. though Linux doesn't seem to have a problem with negative times... interesting... --- lib/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/thread.c b/lib/thread.c index 208f5a2a..e083e8c7 100644 --- a/lib/thread.c +++ b/lib/thread.c @@ -1059,7 +1059,7 @@ thread_fetch (struct thread_master *m, struct thread *fetch) struct thread *thread; fd_set readfd; fd_set writefd; - struct timeval timer_val; + struct timeval timer_val = { .tv_sec = 0, .tv_usec = 0 }; struct timeval timer_val_bg; struct timeval *timer_wait = &timer_val; struct timeval *timer_wait_bg; -- cgit v1.2.3