Fix shadowed text/textbuf

This commit is contained in:
Howard Chu 2003-03-24 19:19:54 +00:00
parent 3fe42f68c8
commit 4853334ad4

View file

@ -478,9 +478,6 @@ slap_mods2entry(
} else {
int rc;
const char *text = NULL;
char textbuf[ SLAP_TEXT_BUFLEN ] = { '\0' };
#ifdef SLAP_NVALUES
int match;
@ -504,7 +501,7 @@ slap_mods2entry(
#else
rc = modify_check_duplicates( mods->sml_desc, mr,
NULL, mods->sml_bvalues, 0,
&text, textbuf, sizeof( textbuf ) );
text, textbuf, textlen );
#endif
if ( rc != LDAP_SUCCESS ) {
return rc;