]> git.sur5r.net Git - openldap/commitdiff
ITS#2603
authorKurt Zeilenga <kurt@openldap.org>
Wed, 18 Jun 2003 01:55:31 +0000 (01:55 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 18 Jun 2003 01:55:31 +0000 (01:55 +0000)
servers/slapd/daemon.c

index b2b5092dde73df90d6a1953b22d52ea970888696..b4448fe77b8bedd7f2819fca306fe1d07c85fd3c 100644 (file)
@@ -1322,7 +1322,11 @@ slapd_daemon_task(
                if ( !at )
                        at = ldap_pvt_thread_pool_backload(&connection_pool);
 
+#if defined( HAVE_YIELDING_SELECT ) || defined( NO_THREADS )
+               tvp = NULL;
+#else
                tvp = at ? &tv : NULL;
+#endif
 
                for ( l = 0; slap_listeners[l] != NULL; l++ ) {
                        if ( slap_listeners[l]->sl_sd == AC_SOCKET_INVALID ||