mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
Minor cleanup
This commit is contained in:
parent
c9afb5e8a3
commit
a07ab15ea1
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue