Minor cleanup

This commit is contained in:
Kurt Zeilenga 2001-12-20 03:00:53 +00:00
parent c9afb5e8a3
commit a07ab15ea1

View File

@ -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;