summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common
diff options
context:
space:
mode:
authorBrad Hards <bradh@frogmouth.net>2010-02-21 17:22:45 +1100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-02-22 21:45:36 +0100
commit1683d090ccfb8b2959e091bdb9281a4991d943dc (patch)
tree61e8486115957ff32aa1e567996c4b526a9e989b /source4/lib/ldb/common
parentdd89dc2c3166d4bbcb3aacfb7222488c69e10485 (diff)
downloadsamba-1683d090ccfb8b2959e091bdb9281a4991d943dc.tar.gz
samba-1683d090ccfb8b2959e091bdb9281a4991d943dc.tar.bz2
samba-1683d090ccfb8b2959e091bdb9281a4991d943dc.zip
LDB related spelling fixes.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Diffstat (limited to 'source4/lib/ldb/common')
-rw-r--r--source4/lib/ldb/common/ldb_ldif.c2
-rw-r--r--source4/lib/ldb/common/ldb_modules.c2
-rw-r--r--source4/lib/ldb/common/ldb_msg.c2
-rw-r--r--source4/lib/ldb/common/ldb_parse.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/ldb/common/ldb_ldif.c b/source4/lib/ldb/common/ldb_ldif.c
index 888761e67b..819caa79d3 100644
--- a/source4/lib/ldb/common/ldb_ldif.c
+++ b/source4/lib/ldb/common/ldb_ldif.c
@@ -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;
}
}
diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c
index 3b8934702a..4cf5dc87d1 100644
--- a/source4/lib/ldb/common/ldb_modules.c
+++ b/source4/lib/ldb/common/ldb_modules.c
@@ -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,
diff --git a/source4/lib/ldb/common/ldb_msg.c b/source4/lib/ldb/common/ldb_msg.c
index f4adb560b1..3c5b64e7b3 100644
--- a/source4/lib/ldb/common/ldb_msg.c
+++ b/source4/lib/ldb/common/ldb_msg.c
@@ -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;
}
diff --git a/source4/lib/ldb/common/ldb_parse.c b/source4/lib/ldb/common/ldb_parse.c
index ba16b57da3..75cc6e74d0 100644
--- a/source4/lib/ldb/common/ldb_parse.c
+++ b/source4/lib/ldb/common/ldb_parse.c
@@ -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,