From 1683d090ccfb8b2959e091bdb9281a4991d943dc Mon Sep 17 00:00:00 2001 From: Brad Hards Date: Sun, 21 Feb 2010 17:22:45 +1100 Subject: LDB related spelling fixes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matthias Dieter Wallnöfer --- source4/lib/ldb/common/ldb_ldif.c | 2 +- source4/lib/ldb/common/ldb_modules.c | 2 +- source4/lib/ldb/common/ldb_msg.c | 2 +- source4/lib/ldb/common/ldb_parse.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/lib/ldb/common') 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, -- cgit