LDB related spelling fixes.
authorBrad Hards <bradh@frogmouth.net>
Sun, 21 Feb 2010 06:22:45 +0000 (17:22 +1100)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Mon, 22 Feb 2010 20:45:36 +0000 (21:45 +0100)
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
source4/lib/ldb-samba/ldif_handlers.c
source4/lib/ldb/common/ldb_ldif.c
source4/lib/ldb/common/ldb_modules.c
source4/lib/ldb/common/ldb_msg.c
source4/lib/ldb/common/ldb_parse.c
source4/lib/ldb/include/ldb_errors.h
source4/lib/ldb/ldb_ildap/ldb_ildap.c
source4/lib/ldb/ldb_ldap/ldb_ldap.c
source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
source4/lib/ldb/ldb_tdb/ldb_tdb.c
source4/lib/ldb/modules/paged_searches.c

index a3400dd774ca4be7a4d85222cc54db53b1724e64..effec46fda45d9900d916d0823ebaae98a3ac90f 100644 (file)
@@ -533,7 +533,7 @@ static int ldif_read_prefixMap(struct ldb_context *ldb, void *mem_ctx,
                                p[0] = '\0';
                        }
                }
-               /* allow a traling seperator */
+               /* allow a trailing separator */
                if (line == p) {
                        break;
                }
index 888761e67bdf7fbf5c5bf72bfb7fa23e626013eb..819caa79d3f73b6a49626f82001d86dcc1bedf5c 100644 (file)
@@ -510,7 +510,7 @@ static int next_attr(void *mem_ctx, char **s, const char **attr, struct ldb_val
        if (binary_file) {
                int len = ldb_read_data_file(mem_ctx, value);
                if (len == -1) {
-                       /* an error occured hile trying to retrieve the file */
+                       /* an error occurred while trying to retrieve the file */
                        return -1;
                }
        }
index 3b8934702aef017aa36852bf15f67a3110cb737a..4cf5dc87d1425bfdedccb176f204aef79471ae23 100644 (file)
@@ -795,7 +795,7 @@ int ldb_module_send_referral(struct ldb_request *req,
  *     req:   the original request passed to your module
  *     ctrls: controls to send in the reply (must be a talloc pointer, steal)
  *     response: results for extended request (steal)
- *     error: LDB_SUCCESS for a succesful return
+ *     error: LDB_SUCCESS for a successful return
  *            any other ldb error otherwise
  */
 int ldb_module_done(struct ldb_request *req,
index f4adb560b1dfe8521b478bee670f339013946745..3c5b64e7b3f5b560ddbe91bab3f9e2caa898e941 100644 (file)
@@ -237,7 +237,7 @@ int ldb_msg_add_string(struct ldb_message *msg,
        val.length = strlen(str);
 
        if (val.length == 0) {
-               /* allow empty strings as non-existant attributes */
+               /* allow empty strings as non-existent attributes */
                return LDB_SUCCESS;
        }
 
index ba16b57da3f3f94892c28c8e3704ea887a682bfe..75cc6e74d03db45663823f53188955548ffac179 100644 (file)
@@ -773,7 +773,7 @@ char *ldb_filter_from_tree(void *mem_ctx, struct ldb_parse_tree *tree)
 
 
 /*
-  replace any occurances of an attribute name in the parse tree with a
+  replace any occurrences of an attribute name in the parse tree with a
   new name
 */
 void ldb_parse_tree_attr_replace(struct ldb_parse_tree *tree, 
index 706d82732dd8e2e69bb5d497a5d0aac8616d1624..b247fbe09c484823249abf15624ccc770cc1e485 100644 (file)
 #define LDB_ERR_NO_SUCH_OBJECT                 32
 
 /**
-   The function referred to an alias which points to a non-existant
+   The function referred to an alias which points to a non-existent
    object in the database.
 */
 #define LDB_ERR_ALIAS_PROBLEM                  33
index b731f6570bba163b2692df1d108003f011bce4e4..3110008c9fb2380aee0866c417df220657aed184 100644 (file)
@@ -35,7 +35,7 @@
  *
  *  Modifications:
  *
- *  - description: make the module use asyncronous calls
+ *  - description: make the module use asynchronous calls
  *    date: Feb 2006
  *    author: Simo Sorce
  */
index 0d75491e915bfd21d7d1e50f82d0bf752bf5d310..4e88cc487bc33e32c3a8dc8f759feef066488297 100644 (file)
@@ -33,7 +33,7 @@
  *
  *  Modifications:
  *
- *  - description: make the module use asyncronous calls
+ *  - description: make the module use asynchronous calls
  *    date: Feb 2006
  *    author: Simo Sorce
  */
index f07b330a8b80d008d9649868127242c80bc8ddcd..c8996467f3d2b460965621fff38505b781c1e0f1 100644 (file)
@@ -557,7 +557,7 @@ query_int(const struct lsqlite3_private * lsqlite3,
 }
 
 /*
- * This is a bad hack to support ldap style comparisons whithin sqlite.
+ * This is a bad hack to support ldap style comparisons within sqlite.
  * val is the attribute in the row currently under test
  * func is the desired test "<=" ">=" "~" ":"
  * cmp is the value to compare against (eg: "test")
index bad0928c23dc2ef02bfe0b0c47b7d3937923a0eb..fc9a949a416a6230f551f5894442db1af9c3f987 100644 (file)
@@ -36,7 +36,7 @@
  *
  *  Modifications:
  *
- *  - description: make the module use asyncronous calls
+ *  - description: make the module use asynchronous calls
  *    date: Feb 2006
  *    Author: Simo Sorce
  *
index c5430eb9bf1f7965bd6710c7a53b59016d872f3b..09786c3eaa6126ef2b54078b9cd478fd5d62c4e9 100644 (file)
@@ -78,7 +78,7 @@ static int check_ps_continuation(struct ps_context *ac, struct ldb_request *req,
                        ldb_set_errstring(ldb, "paged_searches:  ERROR: We got back a control from a previous page, but this time no control was returned!");
                        return LDB_ERR_OPERATIONS_ERROR;
                } else {
-                       /* No cookie recived yet, valid to just return the full data set */
+                       /* No cookie received yet, valid to just return the full data set */
 
                        /* we are done */
                        ac->pending = false;