From: Quanah Gibson-Mount Date: Wed, 26 Aug 2020 21:28:48 +0000 (+0000) Subject: Fix missing getopt check for the argument "N" X-Git-Tag: OPENLDAP_REL_ENG_2_4_52~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c7a4f1e5ec8a90571e5f5133abbd789cf4db938;p=thirdparty%2Fopenldap.git Fix missing getopt check for the argument "N" --- diff --git a/tests/progs/slapd-mtread.c b/tests/progs/slapd-mtread.c index 6721c761a0..bcb3829ded 100644 --- a/tests/progs/slapd-mtread.c +++ b/tests/progs/slapd-mtread.c @@ -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++;