Should have left 'scope' alone.

This commit is contained in:
Kurt Zeilenga 1998-12-29 05:44:18 +00:00
parent 8d1523c503
commit 9171892bd9
2 changed files with 3 additions and 3 deletions

View File

@ -360,7 +360,7 @@ main (int argc, char *argv[])
int i, j;
int ldapport = 0;
int debug = 0;
int scope = -1;
int scope = LDAP_SCOPE_SUBTREE;
int sizelimit = -1;
int timelimit = -1;
int version = -1;

View File

@ -96,9 +96,9 @@ main( int argc, char **argv )
debug = verbose = allow_binary = not = vals2tmp =
attrsonly = ldif = want_bindpw = 0;
deref = referrals = sizelimit = timelimit =
scope = version = -1;
deref = referrals = sizelimit = timelimit = version = -1;
scope = LDAP_SCOPE_SUBTREE;
authmethod = LDAP_AUTH_SIMPLE;
while (( i = getopt( argc, argv, "WKknuvtRABLD:s:f:h:b:d:P:p:F:a:w:l:z:S:")) != EOF ) {