]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Fri, 22 Apr 2005 14:34:10 +0000 (14:34 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 22 Apr 2005 14:34:10 +0000 (14:34 +0000)
servers/slapd/root_dse.c

index 78c70e6d12428b30f063c3960a8ae93ff744be38..a4a0cf6898f95fd9b553d5b84c181db5cfb63e2a 100644 (file)
@@ -187,7 +187,7 @@ root_dse_info(
                snprintf(buf, sizeof buf, "%d", i);
                val.bv_val = buf;
                val.bv_len = strlen( val.bv_val );
-               if( attr_merge( e, ad_supportedLDAPVersion, &val, NULL ) ) {
+               if( attr_merge_one( e, ad_supportedLDAPVersion, &val, NULL ) ) {
                        return LDAP_OTHER;
                }
        }
@@ -199,7 +199,7 @@ root_dse_info(
                for ( i=0; supportedSASLMechanisms[i] != NULL; i++ ) {
                        val.bv_val = supportedSASLMechanisms[i];
                        val.bv_len = strlen( val.bv_val );
-                       if( attr_merge( e, ad_supportedSASLMechanisms, &val, NULL ) ) {
+                       if( attr_merge_one( e, ad_supportedSASLMechanisms, &val, NULL ) ) {
                                return LDAP_OTHER;
                        }
                }