]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
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 2793d2ddbd1c2096780d4521d5c4206afa9c68d8..81994392bd1ae4b873d1e00f023324de92c79e63 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 7f39b88f389e533a88c7f29d8a11cb434082bd72..77cd39f7687170e2bd68a64efb2b52b386f37c44 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 216e152e3f966bce20aef2a97843ec644cdbf9f2..54a2406738221842e4a3889ee94dce31a0d7861c 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;