]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/controls.c
Fix previous commit
[openldap] / servers / slapd / controls.c
index 3683e23bb5ffa889af3516f3b22e4bae6e46dfb1..f0338dc97455b84a37232bdd338249ac73077daf 100644 (file)
@@ -90,7 +90,7 @@ int get_ctrls(
        LDAPControl ***ctrls = &op->o_ctrls;
        struct slap_control *c;
        int rc = LDAP_SUCCESS;
-       char *errmsg = NULL;
+       const char *errmsg = NULL;
 
        len = ber_pvt_ber_remaining(ber);
 
@@ -176,7 +176,7 @@ int get_ctrls(
                if( tag == LBER_ERROR ) {
 #ifdef NEW_LOGGING
                        LDAP_LOG(( "operation", LDAP_LEVEL_INFO,
-                               "get_ctrls: conn %d  get OID failed.\n",
+                               "get_ctrls: conn %d get OID failed.\n",
                                conn->c_connid ));
 #else
                        Debug( LDAP_DEBUG_TRACE, "=> get_ctrls: get oid failed.\n",
@@ -198,7 +198,7 @@ int get_ctrls(
                        if( tag == LBER_ERROR ) {
 #ifdef NEW_LOGGING
                                LDAP_LOG(( "operation", LDAP_LEVEL_INFO,
-                                       "get_ctrls: conn %d  get crit failed.\n",
+                                       "get_ctrls: conn %d get crit failed.\n",
                                        conn->c_connid ));
 #else
                                Debug( LDAP_DEBUG_TRACE, "=> get_ctrls: get crit failed.\n",
@@ -386,4 +386,4 @@ static int parseSubentries (
        op->o_subentries_visibility = (ctrl->ldctl_value.bv_val[2] != 0x00);
 
        return LDAP_SUCCESS;
-}
\ No newline at end of file
+}