]> git.sur5r.net Git - openldap/commitdiff
Rename timelimit to timeout where it refers to the time out not the time limit.
authorKurt Zeilenga <kurt@openldap.org>
Tue, 23 Jan 2001 20:38:19 +0000 (20:38 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 23 Jan 2001 20:38:19 +0000 (20:38 +0000)
clients/tools/ldapsearch.c

index b9b7affac1a21955ea1acdb17d315b86d2b6310e..ece0d0485c48d03b12e9a34d1a7db16aca42bcb4 100644 (file)
@@ -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",