From: Howard Chu Date: Thu, 13 Feb 2003 10:24:32 +0000 (+0000) Subject: Fix uninit'd timeout value X-Git-Tag: NO_SLAP_OP_BLOCKS~371 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=568829d8218f8be0543aabf1ab3fa3de7d56e7dd;p=openldap Fix uninit'd timeout value --- diff --git a/servers/slapd/back-ldap/search.c b/servers/slapd/back-ldap/search.c index 41b397a9da..e76e500ce5 100644 --- a/servers/slapd/back-ldap/search.c +++ b/servers/slapd/back-ldap/search.c @@ -273,6 +273,7 @@ fail:; * but this is necessary for version matching, and for ACL processing. */ + tv.tv_sec = 0; tv.tv_usec = 100000; for ( count=0, rc=0; rc != -1; rc = ldap_result(lc->ld, msgid, 0, &tv, &res))