]> git.sur5r.net Git - openldap/commitdiff
Fix undefined attribute type error text usage
authorKurt Zeilenga <kurt@openldap.org>
Mon, 4 Jun 2001 16:46:33 +0000 (16:46 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 4 Jun 2001 16:46:33 +0000 (16:46 +0000)
servers/slapd/modify.c

index 7a561dbcdeb27fc51cca0aa88e66179162313ca1..ff08f54dee494cb050fc103508315b6b2f9ad0eb 100644 (file)
@@ -372,7 +372,8 @@ int slap_modlist2mods(
 
                if( rc != LDAP_SUCCESS ) {
                        slap_mods_free( mod );
-                       snprintf( textbuf, textlen, "%s: %s", ml->ml_type, text );
+                       snprintf( textbuf, textlen, "%s: %s",
+                               ml->ml_type, *text );
                        *text = textbuf;
                        return rc;
                }