From cc203f3e59840b75fbb42a53d36b717a57268c2f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 14 Apr 2006 03:55:42 +0000 Subject: r15084: Try and squeeze more out of the non-read/write code path. Jeremy. (This used to be commit 23dcff4d50d1d35b7ddee0d0cb79c16a312f179c) --- source3/nsswitch/winbindd_dual.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/nsswitch/winbindd_dual.c') diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c index d978a6adf7..c5d24f98c1 100644 --- a/source3/nsswitch/winbindd_dual.c +++ b/source3/nsswitch/winbindd_dual.c @@ -684,9 +684,10 @@ static BOOL fork_domain_child(struct winbindd_child *child) GetTimeOfDay(&now); - tp = get_timed_events_timeout(&t, (time_t)-1); + tp = get_timed_events_timeout(&t); if (tp) { - DEBUG(11,("select will use timeout of %d seconds\n", (int)tp->tv_sec)); + DEBUG(11,("select will use timeout of %u.%u seconds\n", + (unsigned int)tp->tv_sec, (unsigned int)tp->tv_usec )); } /* Handle messages */ -- cgit