mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Minor cleanup.
This commit is contained in:
parent
20e46b27fc
commit
35d04ef121
1 changed files with 3 additions and 3 deletions
|
|
@ -171,7 +171,7 @@ int slap_bv2ad(
|
|||
|
||||
if( !slap_syntax_is_binary( desc.ad_type->sat_syntax )) {
|
||||
/* not stored in binary, disallow option */
|
||||
*text = "option \"binary\" with type not supported";
|
||||
*text = "option \"binary\" not supported with type";
|
||||
return rtn;
|
||||
}
|
||||
|
||||
|
|
@ -531,8 +531,8 @@ int slap_bv2undef_ad(
|
|||
}
|
||||
|
||||
if( !desc ) {
|
||||
desc = ch_malloc(sizeof(AttributeDescription) +
|
||||
bv->bv_len + 1);
|
||||
desc = ch_malloc(sizeof(AttributeDescription) + 1 +
|
||||
bv->bv_len);
|
||||
|
||||
desc->ad_flags = SLAP_DESC_NONE;
|
||||
desc->ad_lang.bv_val = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue