summaryrefslogtreecommitdiff
path: root/lib/tdb
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2013-09-12 11:07:17 +0200
committerKarolin Seeger <kseeger@samba.org>2013-09-12 13:54:41 +0200
commit20999fcaa192517b12eb3334963d58c6fb436ede (patch)
tree9002f74066f4fcba6954405771390bbb2ed1ff75 /lib/tdb
parent4af7b709e925d85be9446af179186fc13466626f (diff)
downloadsamba-20999fcaa192517b12eb3334963d58c6fb436ede.tar.gz
samba-20999fcaa192517b12eb3334963d58c6fb436ede.tar.bz2
samba-20999fcaa192517b12eb3334963d58c6fb436ede.zip
tdb: Fix some typos in comments.
Thanks to Stewart A. Levin for reporting. fixes bug #10136 (Documentation typos). Signed-off-by: Bjoern Jacke <bj@sernet.de> Reviewed-by: Karolin Seeger <kseeger@samba.org> Autobuild-User(master): Karolin Seeger <kseeger@samba.org> Autobuild-Date(master): Thu Sep 12 13:54:41 CEST 2013 on sn-devel-104
Diffstat (limited to 'lib/tdb')
-rw-r--r--lib/tdb/docs/README2
-rw-r--r--lib/tdb/include/tdb.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/tdb/docs/README b/lib/tdb/docs/README
index fe0e258183..be2224f1d8 100644
--- a/lib/tdb/docs/README
+++ b/lib/tdb/docs/README
@@ -64,7 +64,7 @@ TDB_CONTEXT *tdb_open(char *name, int hash_size, int tdb_flags,
possible tdb_flags are:
TDB_CLEAR_IF_FIRST - clear database if we are the only one with it open
- TDB_INTERNAL - don't use a file, instaed store the data in
+ TDB_INTERNAL - don't use a file, instead store the data in
memory. The filename is ignored in this case.
TDB_NOLOCK - don't do any locking
TDB_NOMMAP - don't use mmap
diff --git a/lib/tdb/include/tdb.h b/lib/tdb/include/tdb.h
index e371e33876..a34f089e66 100644
--- a/lib/tdb/include/tdb.h
+++ b/lib/tdb/include/tdb.h
@@ -132,7 +132,7 @@ struct tdb_logging_context {
* @param[in] tdb_flags The flags to use to open the db:\n\n
* TDB_CLEAR_IF_FIRST - Clear database if we are the
* only one with it open\n
- * TDB_INTERNAL - Don't use a file, instaed store the
+ * TDB_INTERNAL - Don't use a file, instead store the
* data in memory. The filename is
* ignored in this case.\n
* TDB_NOLOCK - Don't do any locking\n
@@ -168,7 +168,7 @@ struct tdb_context *tdb_open(const char *name, int hash_size, int tdb_flags,
* @param[in] tdb_flags The flags to use to open the db:\n\n
* TDB_CLEAR_IF_FIRST - Clear database if we are the
* only one with it open\n
- * TDB_INTERNAL - Don't use a file, instaed store the
+ * TDB_INTERNAL - Don't use a file, instead store the
* data in memory. The filename is
* ignored in this case.\n
* TDB_NOLOCK - Don't do any locking\n
@@ -402,7 +402,7 @@ TDB_DATA tdb_nextkey(struct tdb_context *tdb, TDB_DATA key);
/**
* @brief Traverse the entire database.
*
- * While travering the function fn(tdb, key, data, state) is called on each
+ * While traversing the function fn(tdb, key, data, state) is called on each
* element. If fn is NULL then it is not called. A non-zero return value from
* fn() indicates that the traversal should stop. Traversal callbacks may not
* start transactions.
@@ -777,7 +777,7 @@ void tdb_enable_seqnum(struct tdb_context *tdb);
* @brief Increment the tdb sequence number.
*
* This only works if the tdb has been opened using the TDB_SEQNUM flag or
- * enabled useing tdb_enable_seqnum().
+ * enabled using tdb_enable_seqnum().
*
* @param[in] tdb The database to increment the sequence number.
*