tdb: Fix some typos in comments.
authorBjörn Jacke <bj@sernet.de>
Thu, 12 Sep 2013 09:07:17 +0000 (11:07 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 12 Sep 2013 11:54:41 +0000 (13:54 +0200)
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

lib/tdb/docs/README
lib/tdb/include/tdb.h

index fe0e2581838a99512d4b85806b37cd6679f496f1..be2224f1d842b67ee148612b14b380156c4ae8f7 100644 (file)
@@ -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
index e371e33876f2101ea400b54d0dd42eeb291a7dec..a34f089e66dd41acc829340981531145b208ceea 100644 (file)
@@ -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.
  *