]> git.sur5r.net Git - openldap/commitdiff
Cleanup: Rename struct null_info.bind_allowed to .ni_bind_allowed
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 31 Aug 2005 16:30:32 +0000 (16:30 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 31 Aug 2005 16:30:32 +0000 (16:30 +0000)
servers/slapd/back-null/null.c

index 76b448dd12f6d2232c3f9e01e26fc4d122932339..5962f0b3d63613eae4c846aa79ed3bce76914310 100644 (file)
@@ -26,7 +26,7 @@
 #include "slap.h"
 
 struct null_info {
-       int bind_allowed;
+       int ni_bind_allowed;
 };
 
 static int
@@ -34,7 +34,7 @@ null_back_bind( Operation *op, SlapReply *rs )
 {
        struct null_info *ni = (struct null_info *) op->o_bd->be_private;
 
-       if ( ni->bind_allowed ) {
+       if ( ni->ni_bind_allowed ) {
                /* front end will send result on success (0) */
                return LDAP_SUCCESS;
        }
@@ -87,7 +87,7 @@ null_back_db_config(
                                 fname, lineno );
                        return 1;
                }
-               ni->bind_allowed = strcasecmp( argv[1], "off" );
+               ni->ni_bind_allowed = strcasecmp( argv[1], "off" );
 
        /* anything else */
        } else {
@@ -103,7 +103,7 @@ null_back_db_init( BackendDB *be )
        struct null_info *ni;
 
        ni = ch_calloc( 1, sizeof(struct null_info) );
-       ni->bind_allowed = 0;
+       ni->ni_bind_allowed = 0;
        be->be_private = ni;
        return 0;
 }