param: rename szCopy -> copy
authorMichael Adam <obnox@samba.org>
Wed, 22 Jul 2015 17:08:15 +0000 (19:08 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 30 Jul 2015 23:55:31 +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 8c443ef..a81c543 100644 (file)
@@ -235,7 +235,7 @@ enum case_handling {CASE_LOWER,CASE_UPPER};
        bool valid;                                                     \
        int usershare;                                                  \
        struct timespec usershare_last_mod;                             \
-       char *szCopy;                                                   \
+       char *copy;                                                     \
        char *szService;                                                \
        char *szInclude;                                                \
        bool available;                                                 \
index dcbd146..d70f94e 100644 (file)
@@ -3234,7 +3234,7 @@ struct parm_struct parm_table[] = {
                .label          = "copy",
                .type           = P_STRING,
                .p_class        = P_LOCAL,
-               .offset         = LOCAL_VAR(szCopy),
+               .offset         = LOCAL_VAR(copy),
                .special        = handle_copy,
                .enum_list      = NULL,
                .flags          = FLAG_SYNONYM,
index 715362f..e6b95c2 100644 (file)
@@ -118,7 +118,7 @@ static struct loadparm_service sDefault =
        .invalid_users = NULL,
        .valid_users = NULL,
        .admin_users = NULL,
-       .szCopy = NULL,
+       .copy = NULL,
        .szInclude = NULL,
        .preexec = NULL,
        .postexec = NULL,