From: Andreas Schneider Date: Thu, 13 Jul 2023 07:19:11 +0000 (+0200) Subject: s3:param: Fix code spelling X-Git-Tag: ldb-2.8.0~108 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=57047ca56d60dd68ce65578ecea6e6402d60b4e4;p=thirdparty%2Fsamba.git s3:param: Fix code spelling Signed-off-by: Andreas Schneider Reviewed-by: Joseph Sutton --- diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 3a7acc6cdf6..68e20729661 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1708,7 +1708,7 @@ bool lp_add_printer(const char *pszPrintername, int iDefaultService) pszPrintername); lpcfg_string_set(ServicePtrs[i], &ServicePtrs[i]->comment, comment); - /* set the browseable flag from the gloabl default */ + /* set the browseable flag from the global default */ ServicePtrs[i]->browseable = sDefault.browseable; /* Printers cannot be read_only. */ @@ -1784,7 +1784,7 @@ bool lp_canonicalize_parameter(const char *parm_name, const char **canon_parm, /************************************************************************** Determine the canonical name for a parameter. Turn the value given into the inverse boolean expression when - the synonym is an invers boolean synonym. + the synonym is an inverse boolean synonym. Return true if - parm_name is a valid parameter name and @@ -1845,7 +1845,7 @@ static int map_parameter_canonical(const char *pszParmName, bool *inverse) parm_num = lpcfg_map_parameter(pszParmName); if ((parm_num < 0) || !(parm_table[parm_num].flags & FLAG_SYNONYM)) { - /* invalid, parametric or no canidate for synonyms ... */ + /* invalid, parametric or no candidate for synonyms ... */ goto done; } @@ -3094,7 +3094,7 @@ void lp_killservice(int iServiceIn) } /*************************************************************************** - Save the curent values of all global and sDefault parameters into the + Save the current values of all global and sDefault parameters into the defaults union. This allows testparm to show only the changed (ie. non-default) parameters. ***************************************************************************/ @@ -3163,7 +3163,7 @@ static void lp_save_defaults(void) } /*********************************************************** - If we should send plaintext/LANMAN passwords in the clinet + If we should send plaintext/LANMAN passwords in the client ************************************************************/ static void set_allowed_client_auth(void)