diff options
author | David Lamparter <equinox@diac24.net> | 2010-02-05 08:28:32 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2010-02-05 08:28:32 +0100 |
commit | a16048ba080488ad03886bfd2025acd02dcdeecc (patch) | |
tree | 96c78290d1b566fb880170921944c265770b2cc6 | |
parent | aca2b394480d15efbcda9ff17b1aeec1d5c1b461 (diff) | |
download | quagga-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...
-rw-r--r-- | lib/thread.c | 2 |
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; |