s3:param: Rename bLoaded global variable
authorAndreas Schneider <asn@samba.org>
Thu, 13 Jul 2023 07:18:42 +0000 (09:18 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 19 Jul 2023 09:58:37 +0000 (09:58 +0000)
This makes codespell happy.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
source3/param/loadparm.c

index fd9157fb95f58dc4312971b3c8c4691f9da73de9..3a7acc6cdf6171a178b07a9679d1ea92fcd52095 100644 (file)
@@ -86,7 +86,7 @@
 #include <sys/sysctl.h>
 #endif
 
-bool bLoaded = false;
+bool b_loaded = false;
 
 /* the special value for the include parameter
  * to be interpreted not as a file name but to
@@ -3047,7 +3047,7 @@ void lp_add_one_printer(const char *name, const char *comment,
 
 bool lp_loaded(void)
 {
-       return (bLoaded);
+       return (b_loaded);
 }
 
 /***************************************************************************
@@ -4109,7 +4109,7 @@ static bool lp_load_ex(const char *pszFname,
                          lp_password_server()));
        }
 
-       bLoaded = true;
+       b_loaded = true;
 
        /* Now we check we_are_a_wins_server and set szWINSserver to 127.0.0.1 */
        /* if we_are_a_wins_server is true and we are in the client            */