summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-05-07 21:08:20 +0200
committerGünther Deschner <gd@samba.org>2008-05-09 14:59:19 +0200
commit5d7a60afd8ab7e84eef6b5726e162d9b861df7b9 (patch)
tree91d614e19b192a11aa543e3171a8ed030c5869d5 /source3
parent9adc40a38fd0e5dc0ad9de4654c8bc6a05a19d7b (diff)
downloadsamba-5d7a60afd8ab7e84eef6b5726e162d9b861df7b9.tar.gz
samba-5d7a60afd8ab7e84eef6b5726e162d9b861df7b9.tar.bz2
samba-5d7a60afd8ab7e84eef6b5726e162d9b861df7b9.zip
dsgetdcname: pure cosmetics.
Guenther (This used to be commit 4b56c294e8ba045c84cab538b3d286e433d292ed)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/dsgetdcname.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c
index 247cfd3526..4cafc71ff2 100644
--- a/source3/libsmb/dsgetdcname.c
+++ b/source3/libsmb/dsgetdcname.c
@@ -945,7 +945,7 @@ static NTSTATUS process_dc_netbios(TALLOC_CTX *mem_ctx,
const char *dc_name = NULL;
fstring tmp_dc_name;
struct messaging_context *msg_ctx = msg_context(mem_ctx);
- union nbt_cldap_netlogon *reply = NULL;
+ union nbt_cldap_netlogon *r = NULL;
uint32_t nt_version = NETLOGON_VERSION_1 |
NETLOGON_VERSION_5 |
NETLOGON_VERSION_5EX_WITH_IP;
@@ -979,7 +979,7 @@ static NTSTATUS process_dc_netbios(TALLOC_CTX *mem_ctx,
domain_name,
&nt_version,
&dc_name,
- &reply)) {
+ &r)) {
namecache_store(dc_name, NBT_NAME_SERVER, 1, &ip_list);
goto make_reply;
}
@@ -995,8 +995,8 @@ static NTSTATUS process_dc_netbios(TALLOC_CTX *mem_ctx,
{
struct nbt_cldap_netlogon_1 logon1;
- reply = TALLOC_ZERO_P(mem_ctx, union nbt_cldap_netlogon);
- NT_STATUS_HAVE_NO_MEMORY(reply);
+ r = TALLOC_ZERO_P(mem_ctx, union nbt_cldap_netlogon);
+ NT_STATUS_HAVE_NO_MEMORY(r);
ZERO_STRUCT(logon1);
@@ -1007,7 +1007,7 @@ static NTSTATUS process_dc_netbios(TALLOC_CTX *mem_ctx,
logon1.domain_name = talloc_strdup_upper(mem_ctx, domain_name);
NT_STATUS_HAVE_NO_MEMORY(logon1.domain_name);
- reply->logon1 = logon1;
+ r->logon1 = logon1;
namecache_store(tmp_dc_name, NBT_NAME_SERVER, 1, &ip_list);
@@ -1020,7 +1020,7 @@ static NTSTATUS process_dc_netbios(TALLOC_CTX *mem_ctx,
make_reply:
return make_dc_info_from_cldap_reply(mem_ctx, flags, &dclist[i].ss,
- nt_version, reply, info);
+ nt_version, r, info);
}
/****************************************************************