param: Rename variable used for lp_wins_hook szWINSHook
authorAndrew Bartlett <abartlet@samba.org>
Tue, 24 Dec 2013 03:04:35 +0000 (16:04 +1300)
committerJeremy Allison <jra@samba.org>
Sat, 25 Jan 2014 00:19:04 +0000 (16:19 -0800)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/param/param_functions.c
lib/param/param_table.c

index 256f3391da28b88622e3da6a45aebc2cdef0c833..88889982a4b067892cc5afe10fe2f38acc24fb1c 100644 (file)
@@ -412,4 +412,4 @@ FN_GLOBAL_STRING(shutdown_script, shutdown_script)
 FN_GLOBAL_STRING(username_map_script, usernameMapScript)
 FN_GLOBAL_STRING(username_map, usernameMap)
 FN_GLOBAL_STRING(usershare_path, usershare_path)
-FN_GLOBAL_STRING(wins_hook, szWINSHook)
+FN_GLOBAL_STRING(wins_hook, wins_hook)
index c2ecffe64b13a084e51a95d76db7295c601e3f6c..768f6326474124125892ee51ea6560afea317167 100644 (file)
@@ -2926,7 +2926,7 @@ static struct parm_struct parm_table[] = {
                .label          = "wins hook",
                .type           = P_STRING,
                .p_class        = P_GLOBAL,
-               .offset         = GLOBAL_VAR(szWINSHook),
+               .offset         = GLOBAL_VAR(wins_hook),
                .special        = NULL,
                .enum_list      = NULL,
                .flags          = FLAG_ADVANCED,