1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

param: rename lp function and variable from "enumports_cmd" to "enumports_command"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Garming Sam 2014-02-04 15:09:06 +13:00 committed by Jeremy Allison
parent df507a1a13
commit cd17020e66
3 changed files with 3 additions and 3 deletions

View File

@ -384,7 +384,7 @@ FN_GLOBAL_STRING(delete_share_command, delete_share_command)
FN_GLOBAL_STRING(delete_group_script, delete_group_script)
FN_GLOBAL_STRING(delete_user_from_group_script, delete_user_from_group_script)
FN_GLOBAL_STRING(delete_user_script, delete_user_script)
FN_GLOBAL_STRING(enumports_cmd, enumports_cmd)
FN_GLOBAL_STRING(enumports_command, enumports_command)
FN_GLOBAL_STRING(get_quota_command, get_quota_command)
FN_GLOBAL_STRING(iprint_server, iprint_server)
FN_GLOBAL_STRING(ldap_admin_dn, ldap_admin_dn)

View File

@ -2248,7 +2248,7 @@ static struct parm_struct parm_table[] = {
.label = "enumports command",
.type = P_STRING,
.p_class = P_GLOBAL,
.offset = GLOBAL_VAR(enumports_cmd),
.offset = GLOBAL_VAR(enumports_command),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,

View File

@ -7869,7 +7869,7 @@ static WERROR fill_port_2(TALLOC_CTX *mem_ctx,
static WERROR enumports_hook(TALLOC_CTX *ctx, int *count, char ***lines)
{
char *cmd = lp_enumports_cmd(talloc_tos());
char *cmd = lp_enumports_command(talloc_tos());
char **qlines = NULL;
char *command = NULL;
int numlines;