mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Minor cleanup
This commit is contained in:
parent
c9afb5e8a3
commit
a07ab15ea1
@ -153,7 +153,7 @@ main( int argc, char **argv )
|
||||
if( argc < 2 ) usage( prog );
|
||||
|
||||
/* strncmp instead of strcmp since NT binaries carry .exe extension */
|
||||
ldapadd = ( strncmp( prog, "ldapadd", 7 ) == 0 );
|
||||
ldapadd = ( strncmp( prog, "ldapadd", sizeof("ldapadd"-1 ) == 0 );
|
||||
|
||||
infile = NULL;
|
||||
not = verbose = want_bindpw = debug = manageDSAit = referrals = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user