mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-18 15:20:35 +08:00
Rename timelimit to timeout where it refers to the time out not the time limit.
This commit is contained in:
parent
68ab73a0f5
commit
b873db292c
@ -135,7 +135,7 @@ static int dosearch LDAP_P((
|
||||
int attrsonly,
|
||||
LDAPControl **sctrls,
|
||||
LDAPControl **cctrls,
|
||||
struct timeval *timelimit,
|
||||
struct timeval *timeout,
|
||||
int sizelimit ));
|
||||
|
||||
static char *tmpdir = NULL;
|
||||
@ -888,7 +888,7 @@ static int dosearch(
|
||||
int attrsonly,
|
||||
LDAPControl **sctrls,
|
||||
LDAPControl **cctrls,
|
||||
struct timeval *timelimit,
|
||||
struct timeval *timeout,
|
||||
int sizelimit )
|
||||
{
|
||||
char filter[ BUFSIZ ];
|
||||
@ -921,7 +921,7 @@ static int dosearch(
|
||||
}
|
||||
|
||||
rc = ldap_search_ext( ld, base, scope, filter, attrs, attrsonly,
|
||||
sctrls, cctrls, timelimit, sizelimit, &msgid );
|
||||
sctrls, cctrls, timeout, sizelimit, &msgid );
|
||||
|
||||
if( rc != LDAP_SUCCESS ) {
|
||||
fprintf( stderr, "%s: ldap_search_ext: %s (%d)\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user