]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/slapacl.c
Unify use of BDB lockers
[openldap] / servers / slapd / slapacl.c
index c7b6c274cf5b170ebea4027cb5fa47e71b8063a1..f8573b5ed5ea7369cadada8abe35d4f924a9f006 100644 (file)
@@ -1,6 +1,6 @@
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2004-2006 The OpenLDAP Foundation.
+ * Copyright 2004-2007 The OpenLDAP Foundation.
  * Portions Copyright 2004 Pierangelo Masarati.
  * All rights reserved.
  *
@@ -52,7 +52,8 @@ print_access(
                        desc->ad_cname.bv_val,
                        ( val && !BER_BVISNULL( val ) ) ? "=" : "",
                        ( val && !BER_BVISNULL( val ) ) ?
-                               ( desc == slap_schema.si_ad_userPassword ? "****" : val->bv_val ) : "",
+                               ( desc == slap_schema.si_ad_userPassword ?
+                                       "****" : val->bv_val ) : "",
                        accessmask2str( mask, accessmaskbuf, 1 ) );
 
        return rc;
@@ -330,6 +331,9 @@ slapacl( int argc, char **argv )
                                                attr );
                                invalid = 1;
                                break;
+
+                       default:
+                               break;
                        }
 
                        if ( invalid ) {