param: rename bWidelinks -> wide_links
authorMichael Adam <obnox@samba.org>
Tue, 21 Jul 2015 13:22:30 +0000 (15:22 +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 cdcfdc7..867b8eb 100644 (file)
@@ -238,7 +238,7 @@ enum case_handling {CASE_LOWER,CASE_UPPER};
        char *szCopy;                                                   \
        char *szService;                                                \
        char *szInclude;                                                \
-       bool bWidelinks;                                                \
+       bool wide_links;                                                \
        bool bAvailable;                                                        \
        struct parmlist_entry *param_opt;                               \
        struct bitmap *copymap;                                         \
index 8642364..e67a4f6 100644 (file)
@@ -3403,7 +3403,7 @@ struct parm_struct parm_table[] = {
                .label          = "wide links",
                .type           = P_BOOL,
                .p_class        = P_LOCAL,
-               .offset         = LOCAL_VAR(bWidelinks),
+               .offset         = LOCAL_VAR(wide_links),
                .special        = NULL,
                .enum_list      = NULL,
        },
index 296d426..a2b827d 100644 (file)
@@ -204,7 +204,7 @@ static struct loadparm_service sDefault =
        .level2_oplocks = true,
        .only_user = false,
        .mangled_names = true,
-       .bWidelinks = false,
+       .wide_links = false,
        .follow_symlinks = true,
        .sync_always = false,
        .strict_allocate = false,
@@ -4298,8 +4298,8 @@ int lp_min_receive_file_size(void)
 
 static bool lp_widelinks_internal(int snum)
 {
-       return (bool)(LP_SNUM_OK(snum)? ServicePtrs[(snum)]->bWidelinks :
-                       sDefault.bWidelinks);
+       return (bool)(LP_SNUM_OK(snum)? ServicePtrs[(snum)]->wide_links :
+                       sDefault.wide_links);
 }
 
 void widelinks_warning(int snum)