summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Parent <math.parent@gmail.com>2019-08-29 22:39:12 +0200
committerAndrew Bartlett <abartlet@samba.org>2019-09-01 22:21:28 +0000
commit105bb06318eecd416c8e78b5cbcd3936aa6ec8c8 (patch)
tree0aa9deb0955fad65850a7ab6c88c4885eda4b236
parent4b207f83653589d5b5b9b041e7202e47b7815ac5 (diff)
downloadsamba-105bb06318eecd416c8e78b5cbcd3936aa6ec8c8.tar.gz
Spelling fixes s/withing/within/
Signed-off-by: Mathieu Parent <math.parent@gmail.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
-rw-r--r--auth/gensec/spnego.c4
-rw-r--r--docs-xml/Samba-Developers-Guide/internals.xml2
-rw-r--r--source3/registry/reg_util_internal.c4
-rw-r--r--source3/smbd/service.c2
-rw-r--r--source4/dsdb/samdb/ldb_modules/dirsync.c2
5 files changed, 7 insertions, 7 deletions
diff --git a/auth/gensec/spnego.c b/auth/gensec/spnego.c
index 9e279d89850..565d5a975bf 100644
--- a/auth/gensec/spnego.c
+++ b/auth/gensec/spnego.c
@@ -72,7 +72,7 @@ struct spnego_neg_ops {
* 'in_next'. Note that 'in_mem_ctx' is just passed as a hint, the
* caller should treat 'in_next' as const and don't attempt to free the
* content. NT_STATUS_OK indicates the finish hook should be invoked
- * directly withing the need of gensec_update() on the subcontext.
+ * directly within the need of gensec_update() on the subcontext.
* Every other error indicates an error that's returned to the caller.
*/
NTSTATUS (*start_fn)(struct gensec_security *gensec_security,
@@ -90,7 +90,7 @@ struct spnego_neg_ops {
* 'in_next'. Note that 'in_mem_ctx' is just passed as a hint, the
* caller should treat 'in_next' as const and don't attempt to free the
* content. NT_STATUS_OK indicates the finish hook should be invoked
- * directly withing the need of gensec_update() on the subcontext.
+ * directly within the need of gensec_update() on the subcontext.
* Every other error indicates an error that's returned to the caller.
*/
NTSTATUS (*step_fn)(struct gensec_security *gensec_security,
diff --git a/docs-xml/Samba-Developers-Guide/internals.xml b/docs-xml/Samba-Developers-Guide/internals.xml
index b8e2b269990..a2c819c3411 100644
--- a/docs-xml/Samba-Developers-Guide/internals.xml
+++ b/docs-xml/Samba-Developers-Guide/internals.xml
@@ -205,7 +205,7 @@ buffer buf to the value val.</para>
<sect2>
<title>SIVALS(buf,pos,val)</title>
-<para>sets the signed 32 bit little-endian integer at offset pos withing buffer
+<para>sets the signed 32 bit little-endian integer at offset pos within buffer
buf to the value val.</para>
</sect2>
diff --git a/source3/registry/reg_util_internal.c b/source3/registry/reg_util_internal.c
index e256c75cb2d..728ad0b75c9 100644
--- a/source3/registry/reg_util_internal.c
+++ b/source3/registry/reg_util_internal.c
@@ -28,7 +28,7 @@
/***********************************************************************
Utility function for splitting the base path of a registry path off
- by setting base and new_path to the apprapriate offsets withing the
+ by setting base and new_path to the apprapriate offsets within the
path.
WARNING!! Does modify the original string!
@@ -57,7 +57,7 @@ bool reg_split_path(char *path, char **base, char **new_path)
/***********************************************************************
Utility function for splitting the base path of a registry path off
- by setting base and new_path to the appropriate offsets withing the
+ by setting base and new_path to the appropriate offsets within the
path.
WARNING!! Does modify the original string!
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index fa84d78ab3b..64b638346ae 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -836,7 +836,7 @@ static NTSTATUS make_connection_snum(struct smbXsrv_connection *xconn,
conn->origpath = talloc_strdup(conn, conn->connectpath);
/* Figure out the characteristics of the underlying filesystem. This
- * assumes that all the filesystem mounted withing a share path have
+ * assumes that all the filesystem mounted within a share path have
* the same characteristics, which is likely but not guaranteed.
*/
diff --git a/source4/dsdb/samdb/ldb_modules/dirsync.c b/source4/dsdb/samdb/ldb_modules/dirsync.c
index 00f24bd6d59..60e8eae4642 100644
--- a/source4/dsdb/samdb/ldb_modules/dirsync.c
+++ b/source4/dsdb/samdb/ldb_modules/dirsync.c
@@ -1286,7 +1286,7 @@ static int dirsync_ldb_search(struct ldb_module *module, struct ldb_request *req
}
/*
- * Let's search for the max usn withing the cookie
+ * Let's search for the max usn within the cookie
*/
if (GUID_equal(&(cookie.blob.guid1), dsc->our_invocation_id)) {
/*