summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-04-25 11:25:02 +0200
committerVolker Lendecke <vlendec@samba.org>2011-04-25 12:35:30 +0200
commitb61c38fde6eee796097ae4f0cd4c3c31b052c599 (patch)
tree3d355112622202b107c566b3eddab7970af60750 /source3
parent60e8e33414f7dee8deb99b276182975b234bed0d (diff)
downloadsamba-b61c38fde6eee796097ae4f0cd4c3c31b052c599.tar.gz
samba-b61c38fde6eee796097ae4f0cd4c3c31b052c599.tar.bz2
samba-b61c38fde6eee796097ae4f0cd4c3c31b052c599.zip
s3: Fix some typos in dsgetdcname
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 12:35:30 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/dsgetdcname.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c
index 2a4709a02b..7706994ba3 100644
--- a/source3/libsmb/dsgetdcname.c
+++ b/source3/libsmb/dsgetdcname.c
@@ -606,7 +606,7 @@ static NTSTATUS discover_dc_dns(TALLOC_CTX *mem_ctx,
i++;
j = 0;
} else {
- /* use the IP addresses from the SRV sresponse */
+ /* use the IP addresses from the SRV response */
if (j >= dcs[i].num_ips) {
i++;
@@ -620,8 +620,8 @@ static NTSTATUS discover_dc_dns(TALLOC_CTX *mem_ctx,
/* make sure it is a valid IP. I considered checking the
* negative connection cache, but this is the wrong place for
- * it. Maybe only as a hac. After think about it, if all of
- * the IP addresses retuend from DNS are dead, what hope does a
+ * it. Maybe only as a hack. After think about it, if all of
+ * the IP addresses returned from DNS are dead, what hope does a
* netbios name lookup have? The standard reason for falling
* back to netbios lookups is that our DNS server doesn't know
* anything about the DC's -- jerry */