Skip to content
Snippets Groups Projects
Commit 9171892b authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Should have left 'scope' alone.

parent 8d1523c5
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
......@@ -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 ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment