From: Howard Chu Date: Thu, 17 Mar 2005 05:03:28 +0000 (+0000) Subject: ITS#3542 - ignore timevals from deferred tasks X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~49 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3ead49d206ca30f835c70a75b30924dea06fc493;p=openldap ITS#3542 - ignore timevals from deferred tasks --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index eebc46c6f5..2893a905f9 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -1672,7 +1672,7 @@ slapd_daemon_task( } ldap_pvt_thread_mutex_unlock( &slapd_rq.rq_mutex ); - if ( cat != NULL ) { + if ( cat && cat->tv_sec ) { time_t diff = difftime( cat->tv_sec, now ); if ( diff == 0 ) diff = tdelta;