mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
Fix shadowed text/textbuf
This commit is contained in:
parent
3fe42f68c8
commit
4853334ad4
1 changed files with 1 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue