git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb72d0b
)
dsgetdcname: Fix discover_dc_dns().
author
Günther Deschner
<gd@samba.org>
Mon, 21 Apr 2008 22:05:05 +0000
(
00:05
+0200)
committer
Günther Deschner
<gd@samba.org>
Mon, 21 Apr 2008 22:05:05 +0000
(
00:05
+0200)
Guenther
source/libsmb/dsgetdcname.c
patch
|
blob
|
history
diff --git
a/source/libsmb/dsgetdcname.c
b/source/libsmb/dsgetdcname.c
index 874a7749b756fd4f81e38c2206a3572eb3e9100e..5af65c5dcaab1709600683e29c4dd0adaa004a3f 100644
(file)
--- a/
source/libsmb/dsgetdcname.c
+++ b/
source/libsmb/dsgetdcname.c
@@
-524,8
+524,8
@@
static NTSTATUS discover_dc_dns(TALLOC_CTX *mem_ctx,
struct ip_service_name *r = &dclist[count];
- r->port = dcs[
i
].port;
- r->hostname = dcs[
i
].hostname;
+ r->port = dcs[
count
].port;
+ r->hostname = dcs[
count
].hostname;
if (!(flags & DS_IP_REQUIRED)) {
count++;