summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-22 09:59:19 +0200
committerMichael Adam <obnox@samba.org>2013-09-24 07:44:28 +0200
commit349bcafe09b6ae0ccd2ddc4acef2fd4c48dbc45d (patch)
treea9f85c2827c2c18a4ddb60e62850b2e3db5e8b38
parenta00f97a392463e53f091e10aed06b59836824d32 (diff)
downloadsamba-349bcafe09b6ae0ccd2ddc4acef2fd4c48dbc45d.tar.gz
samba-349bcafe09b6ae0ccd2ddc4acef2fd4c48dbc45d.tar.bz2
samba-349bcafe09b6ae0ccd2ddc4acef2fd4c48dbc45d.zip
s3:net rpc conf: rename canon_valname->canon_param_name for clarity in setparm.
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source3/utils/net_rpc_conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c
index 61555e26f4..4b5f58e45b 100644
--- a/source3/utils/net_rpc_conf.c
+++ b/source3/utils/net_rpc_conf.c
@@ -1740,7 +1740,7 @@ static NTSTATUS rpc_conf_setparm_internal(struct net_context *c,
enum winreg_CreateAction action = 0;
const char *service_name, *param_name, *valstr;
- const char *canon_valname;
+ const char *canon_param_name;
const char *canon_valstr;
ZERO_STRUCT(hive_hnd);
@@ -1857,7 +1857,7 @@ static NTSTATUS rpc_conf_setparm_internal(struct net_context *c,
}
if (!lp_canonicalize_parameter_with_value(param_name, valstr,
- &canon_valname,
+ &canon_param_name,
&canon_valstr))
{
/*