1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

param: rename lp function and variable from "msg_command" to "message_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:04 +13:00
committed by Jeremy Allison
parent e07f8aeeac
commit 8ec3e11004
3 changed files with 8 additions and 8 deletions

View File

@ -392,7 +392,7 @@ FN_GLOBAL_STRING(ldap_suffix, ldap_suffix)
FN_GLOBAL_STRING(logfile, logfile)
FN_GLOBAL_STRING(log_nt_token_command, log_nt_token_command)
FN_GLOBAL_STRING(mangling_method, mangling_method)
FN_GLOBAL_STRING(msg_command, msg_command)
FN_GLOBAL_STRING(message_command, message_command)
FN_GLOBAL_STRING(homedir_map, homedir_map)
FN_GLOBAL_STRING(os2_driver_map, os2_driver_map)
FN_GLOBAL_STRING(panic_action, panic_action)

View File

@ -3400,7 +3400,7 @@ static struct parm_struct parm_table[] = {
.label = "message command",
.type = P_STRING,
.p_class = P_GLOBAL,
.offset = GLOBAL_VAR(msg_command),
.offset = GLOBAL_VAR(message_command),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,

View File

@ -53,7 +53,7 @@ static void msg_deliver(struct msg_state *state)
char *s;
mode_t mask;
if (! (*lp_msg_command(frame))) {
if (! (*lp_message_command(frame))) {
DEBUG(1,("no messaging command specified\n"));
goto done;
}
@ -100,7 +100,7 @@ static void msg_deliver(struct msg_state *state)
close(fd);
/* run the command */
s = lp_msg_command(frame);
s = lp_message_command(frame);
if (s == NULL) {
goto done;
}
@ -150,7 +150,7 @@ void reply_sends(struct smb_request *req)
START_PROFILE(SMBsends);
if (!(*lp_msg_command(talloc_tos()))) {
if (!(*lp_message_command(talloc_tos()))) {
reply_nterror(req, NT_STATUS_REQUEST_NOT_ACCEPTED);
END_PROFILE(SMBsends);
return;
@ -198,7 +198,7 @@ void reply_sendstrt(struct smb_request *req)
START_PROFILE(SMBsendstrt);
if (!(*lp_msg_command(talloc_tos()))) {
if (!(*lp_message_command(talloc_tos()))) {
reply_nterror(req, NT_STATUS_REQUEST_NOT_ACCEPTED);
END_PROFILE(SMBsendstrt);
return;
@ -248,7 +248,7 @@ void reply_sendtxt(struct smb_request *req)
START_PROFILE(SMBsendtxt);
if (! (*lp_msg_command(talloc_tos()))) {
if (! (*lp_message_command(talloc_tos()))) {
reply_nterror(req, NT_STATUS_REQUEST_NOT_ACCEPTED);
END_PROFILE(SMBsendtxt);
return;
@ -297,7 +297,7 @@ void reply_sendend(struct smb_request *req)
{
START_PROFILE(SMBsendend);
if (! (*lp_msg_command(talloc_tos()))) {
if (! (*lp_message_command(talloc_tos()))) {
reply_nterror(req, NT_STATUS_REQUEST_NOT_ACCEPTED);
END_PROFILE(SMBsendend);
return;