From: Kurt Zeilenga Date: Mon, 4 Jun 2001 16:46:33 +0000 (+0000) Subject: Fix undefined attribute type error text usage X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1362 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=891079fb0974fe2ca52759a472b21ad87a708556;p=openldap Fix undefined attribute type error text usage --- diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index 7a561dbcde..ff08f54dee 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -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; }