summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2010-02-05 08:28:32 +0100
committerDavid Lamparter <equinox@diac24.net>2010-02-05 08:28:32 +0100
commita16048ba080488ad03886bfd2025acd02dcdeecc (patch)
tree96c78290d1b566fb880170921944c265770b2cc6 /lib
parentaca2b394480d15efbcda9ff17b1aeec1d5c1b461 (diff)
downloadquagga-a16048ba080488ad03886bfd2025acd02dcdeecc.tar.bz2
quagga-a16048ba080488ad03886bfd2025acd02dcdeecc.tar.xz
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...
Diffstat (limited to 'lib')
-rw-r--r--lib/thread.c2
1 files changed, 1 insertions, 1 deletions
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;