1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

ldb: Correct copy‐and‐pasted comments

These comments refer to controls being added, but in these functions the
controls are actually being *searched* for.

Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Jo Sutton 2024-02-13 11:54:57 +13:00 committed by Andrew Bartlett
parent f810ea94f3
commit 93762362c5

View File

@ -1344,7 +1344,7 @@ int ldb_request_replace_control(struct ldb_request *req, const char *oid, bool c
/**
check if a control with the specified "oid" exist and return it
\param req the request struct where to add the control
\param req the request struct to search for the control
\param oid the object identifier of the control as string
\return the control, NULL if not found
@ -1353,7 +1353,7 @@ struct ldb_control *ldb_request_get_control(struct ldb_request *req, const char
/**
check if a control with the specified "oid" exist and return it
\param rep the reply struct where to add the control
\param rep the reply struct to search for the control
\param oid the object identifier of the control as string
\return the control, NULL if not found