summaryrefslogtreecommitdiff
path: root/lib/dbwrap
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2023-03-31 11:10:03 +0200
committerAndrew Bartlett <abartlet@samba.org>2023-04-03 03:56:35 +0000
commit3289e7349ae2523016abed890df1c5fc15a8a9b9 (patch)
tree1b3405898f1349f2f89a9d42f707db59971d8b53 /lib/dbwrap
parent2b712191a849a66d7362887647928067c2938f7d (diff)
downloadsamba-3289e7349ae2523016abed890df1c5fc15a8a9b9.tar.gz
lib:dbwrap: Fix code spelling
Best reviewed with: `git show --word-diff`. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/dbwrap')
-rw-r--r--lib/dbwrap/dbwrap.h2
-rw-r--r--lib/dbwrap/dbwrap_rbt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/dbwrap/dbwrap.h b/lib/dbwrap/dbwrap.h
index cfae403b178..834b10f0942 100644
--- a/lib/dbwrap/dbwrap.h
+++ b/lib/dbwrap/dbwrap.h
@@ -123,7 +123,7 @@ NTSTATUS dbwrap_parse_record(struct db_context *db, TDB_DATA key,
* @param[out] req_state Pointer to a enum dbwrap_req_state variable
*
* @note req_state is updated in the send function. To determine the final
- * result of the request the caller should therefor not rely on req_state. The
+ * result of the request the caller should therefore not rely on req_state. The
* primary use case is to give the caller an indication whether the request is
* already sent to ctdb (DBWRAP_REQ_DISPATCHED) or if it's still stuck in the
* sendqueue (DBWRAP_REQ_QUEUED).
diff --git a/lib/dbwrap/dbwrap_rbt.c b/lib/dbwrap/dbwrap_rbt.c
index 691acef688d..89d30bb3232 100644
--- a/lib/dbwrap/dbwrap_rbt.c
+++ b/lib/dbwrap/dbwrap_rbt.c
@@ -358,7 +358,7 @@ static struct db_record *db_rbt_fetch_locked(struct db_context *db_ctx,
/*
* In this low-level routine, play tricks to reduce the number of
- * tallocs to one. Not recommened for general use, but here it pays
+ * tallocs to one. Not recommended for general use, but here it pays
* off.
*/