Fix undefined attribute type error text usage

This commit is contained in:
Kurt Zeilenga 2001-06-04 16:46:33 +00:00
parent 970abe2637
commit 891079fb09

View 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;
}