From: Kurt Zeilenga Date: Thu, 20 Dec 2001 03:00:53 +0000 (+0000) Subject: Minor cleanup X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~595 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a07ab15ea16f207c2e23a1faa47127f83f288843;p=openldap Minor cleanup --- diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index 56f4224374..0334f76c29 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -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;