]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Fix missing getopt check for the argument "N"
authorQuanah Gibson-Mount <quanah@openldap.org>
Wed, 26 Aug 2020 21:28:48 +0000 (21:28 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 26 Aug 2020 21:28:48 +0000 (21:28 +0000)
tests/progs/slapd-mtread.c

index 6721c761a067c2da33ea2afab17bcdb52641437e..bcb3829ded8854dafcee906cd6927035f2706b5b 100644 (file)
@@ -185,7 +185,7 @@ main( int argc, char **argv )
        /* by default, tolerate referrals and no such object */
        tester_ignore_str2errlist( "REFERRAL,NO_SUCH_OBJECT" );
 
-       while ( (i = getopt( argc, argv, "ACc:D:e:Ff:H:h:i:L:l:M:m:p:r:t:T:w:v" )) != EOF ) {
+       while ( (i = getopt( argc, argv, "ACc:D:e:Ff:H:h:i:L:l:M:m:Np:r:t:T:w:v" )) != EOF ) {
                switch ( i ) {
                case 'A':
                        noattrs++;