]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib:smbconf: Fix code spelling
authorAndreas Schneider <asn@samba.org>
Thu, 13 Apr 2023 10:54:21 +0000 (12:54 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 14 Apr 2023 05:25:33 +0000 (05:25 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
lib/smbconf/pysmbconf.c
lib/smbconf/smbconf.h

index 465876684cae5c5a1b944cac478d897e6d73fb42..20041d3a580d07c3a7fffd657ed40f8dfd18020d 100644 (file)
@@ -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,
index 1804cb5905af64f2968c4b8be9dce69bf57b1e35..e5f138fd98b5d082107e287d1fbc9a739b96592c 100644 (file)
@@ -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.
  *