mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
s4:dsdb/common: add some const to dsdb_dn_is_upgraded_link_val()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
9c09911338
commit
58aa29b844
@ -3766,7 +3766,7 @@ bool dsdb_dn_is_deleted_val(const struct ldb_val *val)
|
|||||||
return true if a ldb_val containing a DN in storage form is
|
return true if a ldb_val containing a DN in storage form is
|
||||||
in the upgraded w2k3 linked attribute format
|
in the upgraded w2k3 linked attribute format
|
||||||
*/
|
*/
|
||||||
bool dsdb_dn_is_upgraded_link_val(struct ldb_val *val)
|
bool dsdb_dn_is_upgraded_link_val(const struct ldb_val *val)
|
||||||
{
|
{
|
||||||
return memmem(val->data, val->length, "<RMD_VERSION=", 13) != NULL;
|
return memmem(val->data, val->length, "<RMD_VERSION=", 13) != NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user