param: rename CupsEncrypt -> cups_encrypt
authorMichael Adam <obnox@samba.org>
Wed, 22 Jul 2015 14:21:35 +0000 (16:21 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 30 Jul 2015 23:55:30 +0000 (01:55 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/param/loadparm.h
lib/param/param_table.c
source3/param/loadparm.c

index 2793d2d..8199439 100644 (file)
@@ -248,7 +248,7 @@ enum case_handling {CASE_LOWER,CASE_UPPER};
 #define LOADPARM_EXTRA_GLOBALS \
        struct parmlist_entry *param_opt;                               \
        char *realm_original;                                           \
-       int CupsEncrypt;                                                \
+       int cups_encrypt;                                               \
        char *szIdmapUID;                                               \
        char *szIdmapGID;                                               \
        char *szIdmapBackend;
index 7f39b88..77cd39f 100644 (file)
@@ -1983,7 +1983,7 @@ struct parm_struct parm_table[] = {
                .label          = "cups encrypt",
                .type           = P_ENUM,
                .p_class        = P_GLOBAL,
-               .offset         = GLOBAL_VAR(CupsEncrypt),
+               .offset         = GLOBAL_VAR(cups_encrypt),
                .special        = NULL,
                .enum_list      = enum_bool_auto,
        },
index 216e152..54a2406 100644 (file)
@@ -1034,7 +1034,7 @@ int lp_cups_encrypt(void)
 {
        int result = 0;
 #ifdef HAVE_HTTPCONNECTENCRYPT
-       switch (Globals.CupsEncrypt) {
+       switch (Globals.cups_encrypt) {
                case Auto:
                        result = HTTP_ENCRYPT_REQUIRED;
                        break;