From: Joseph Sutton Date: Fri, 22 Sep 2023 00:08:10 +0000 (+1200) Subject: s3:lib: Fix code spelling X-Git-Tag: talloc-2.4.2~1066 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=58ba1d4c19cb4f9954a5f1bc0583e7e59316a3c5;p=thirdparty%2Fsamba.git s3:lib: Fix code spelling Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source3/lib/adouble.c b/source3/lib/adouble.c index ad1e5059cf6..1e8dbc4aaf3 100644 --- a/source3/lib/adouble.c +++ b/source3/lib/adouble.c @@ -328,7 +328,7 @@ static bool ad_entry_check_size(uint32_t eid, } if (ad_checks[eid].fixed_size) { if (ad_checks[eid].expected_len != got_len) { - /* Wrong size fo fixed size entry. */ + /* Wrong size for fixed size entry. */ return false; } } else { diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c index a95036e2f87..c0d6884a783 100644 --- a/source3/lib/smbldap.c +++ b/source3/lib/smbldap.c @@ -1759,7 +1759,7 @@ static int smbldap_state_destructor(struct smbldap_state *state) /********************************************************************** - Intitalise the 'general' ldap structures, on which ldap operations may be conducted + Initialise the 'general' ldap structures, on which ldap operations may be conducted *********************************************************************/ NTSTATUS smbldap_init(TALLOC_CTX *mem_ctx, struct tevent_context *tevent_ctx, diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c index 2eed3a9fa99..ad3232bf581 100644 --- a/source3/lib/tldap.c +++ b/source3/lib/tldap.c @@ -1776,10 +1776,10 @@ static bool tldap_push_filter_substring(struct tldap_context *ld, return asn1_pop_tag(data); } -/* NOTE: although openldap libraries allow for spaces in some places, mosly - * around parenthesis, we do not allow any spaces (except in values of - * course) as I couldn't fine any place in RFC 4512 or RFC 4515 where - * leading or trailing spaces where allowed. +/* NOTE: although openldap libraries allow for spaces in some places, mostly + * around parentheses, we do not allow any spaces (except in values of + * course) as I couldn't find any place in RFC 4512 or RFC 4515 where + * leading or trailing spaces were allowed. */ static bool tldap_push_filter(struct tldap_context *ld, struct asn1_data *data,