summaryrefslogtreecommitdiff
path: root/lib/smbconf
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2023-04-13 12:54:21 +0200
committerAndreas Schneider <asn@cryptomilk.org>2023-04-14 05:25:33 +0000
commit189f156c8c7f1fc48048169e23861fdb9a4841cf (patch)
tree84bc81883d42291f59434965c17280b9137439bf /lib/smbconf
parent8d647f2f7c00424ab52ada98d9131e81bfa38d1c (diff)
downloadsamba-189f156c8c7f1fc48048169e23861fdb9a4841cf.tar.gz
lib:smbconf: Fix code spelling
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Diffstat (limited to 'lib/smbconf')
-rw-r--r--lib/smbconf/pysmbconf.c4
-rw-r--r--lib/smbconf/smbconf.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/smbconf/pysmbconf.c b/lib/smbconf/pysmbconf.c
index 465876684ca..20041d3a580 100644
--- a/lib/smbconf/pysmbconf.c
+++ b/lib/smbconf/pysmbconf.c
@@ -602,12 +602,12 @@ PyDoc_STRVAR(obj_drop_doc,
PyDoc_STRVAR(obj_set_parameter_doc,
"set_parameter(str, str, str) -> None\n"
-"Set a configuration parmeter. Specify service name, parameter name,\n"
+"Set a configuration parameter. Specify service name, parameter name,\n"
"and parameter value.\n");
PyDoc_STRVAR(obj_set_global_parameter_doc,
"set_global_parameter(str, str) -> None\n"
-"Set a global configuration parmeter. Specify the parameter name\n"
+"Set a global configuration parameter. Specify the parameter name\n"
"and parameter value.\n");
PyDoc_STRVAR(obj_delete_share_doc,
diff --git a/lib/smbconf/smbconf.h b/lib/smbconf/smbconf.h
index 1804cb5905a..e5f138fd98b 100644
--- a/lib/smbconf/smbconf.h
+++ b/lib/smbconf/smbconf.h
@@ -275,7 +275,7 @@ sbcErr smbconf_set_parameter(struct smbconf_ctx *ctx,
* @brief Set a global configuration parameter to the value provided.
*
* This adds a paramet in the [global] service. It also creates [global] if it
- * does't exist.
+ * doesn't exist.
*
* @param[in] ctx The smbconf context to use.
*
@@ -314,7 +314,7 @@ sbcErr smbconf_get_parameter(struct smbconf_ctx *ctx,
/**
* @brief Get the value of a global configuration parameter as a string.
*
- * It also creates [global] if it does't exist.
+ * It also creates [global] if it doesn't exist.
*
* @param[in] ctx The smbconf context to use.
*
@@ -350,7 +350,7 @@ sbcErr smbconf_delete_parameter(struct smbconf_ctx *ctx,
/**
* @brief Delete a global parameter from the configuration.
*
- * It also creates [global] if it does't exist.
+ * It also creates [global] if it doesn't exist.
*
* @param[in] ctx The smbconf context to use.
*