1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

ldb: Fix code spelling

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-09-06 10:54:35 +12:00 committed by Andrew Bartlett
parent 7d9edb82c4
commit 5fbbf9b9ba
5 changed files with 8 additions and 8 deletions

View File

@ -986,7 +986,7 @@ struct ldb_db_lock_context {
};
/*
* We have to have a the unlock on a destructor so that we unlock the
* We have to have the unlock on a destructor so that we unlock the
* DB if a caller calls talloc_free(req). We trust that the ldb
* context has not already gone away.
*/

View File

@ -1576,7 +1576,7 @@ char *ldb_timestring(TALLOC_CTX *mem_ctx, time_t t)
return NULL;
}
/* we now exactly how long this string will be */
/* we know exactly how long this string will be */
ts = talloc_array(mem_ctx, char, 18);
/* formatted like: 20040408072012.0Z */
@ -1692,7 +1692,7 @@ char *ldb_timestring_utc(TALLOC_CTX *mem_ctx, time_t t)
return NULL;
}
/* we now exactly how long this string will be */
/* we know exactly how long this string will be */
ts = talloc_array(mem_ctx, char, 14);
/* formatted like: 20040408072012.0Z => 040408072012Z */

View File

@ -1471,7 +1471,7 @@ int ldb_extended_default_callback(struct ldb_request *req, struct ldb_reply *are
\param ldb the context associated with the database (from ldb_init())
\param mem_ctx a talloc memory context (used as parent of ret_req)
\param oid the OID of the extended operation.
\param data a void pointer a the extended operation specific parameters,
\param data a void pointer to the extended operation specific parameters,
it needs to be NULL or a valid talloc pointer! talloc_get_type() will be used on it
\param controls an array of controls
\param context the callback function context
@ -1495,7 +1495,7 @@ int ldb_build_extended_req(struct ldb_request **ret_req,
\param ldb the context associated with the database (from ldb_init())
\param oid the OID of the extended operation.
\param data a void pointer a the extended operation specific parameters,
\param data a void pointer to the extended operation specific parameters,
it needs to be NULL or a valid talloc pointer! talloc_get_type() will be used on it
\param res the result of the extended operation

View File

@ -861,7 +861,7 @@ static int ldb_kv_find_element(const struct ldb_message *msg, const char *name)
/*
add an element to an existing record. Assumes a elements array that we
can call re-alloc on, and assumed that we can re-use the data pointers from
can call re-alloc on, and assumes that we can reuse the data pointers from
the passed in additional values. Use with care!
returns 0 on success, -1 on failure (and sets errno)

View File

@ -55,7 +55,7 @@ dn: @INDEX:NAME:DNSUPDATEPROXY
In this format, @IDX is multi-valued, one entry for each match
The corrosponding entry is stored in a TDB record with key:
The corresponding entry is stored in a TDB record with key:
DN=CN=DNSUPDATEPROXY,CN=USERS,DC=ADDOM,DC=SAMBA,DC=EXAMPLE,DC=COM
@ -79,7 +79,7 @@ by the @IDXGUID attribute on @INDEXLIST.
If there are multiple values the @IDX value simply becomes longer,
in multiples of 16.
The corrosponding entry is stored in a TDB record with key:
The corresponding entry is stored in a TDB record with key:
GUID=<binary GUID>