s3: Fix some typos in dsgetdcname
authorVolker Lendecke <vl@samba.org>
Mon, 25 Apr 2011 09:25:02 +0000 (11:25 +0200)
committerVolker Lendecke <vlendec@samba.org>
Mon, 25 Apr 2011 10:35:30 +0000 (12:35 +0200)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 25 12:35:30 CEST 2011 on sn-devel-104

source3/libsmb/dsgetdcname.c

index 2a4709a02bffbda5671cfa8fc16ba57a0e8170ed..7706994ba369e2957c6d5dc0434649d5259ff783 100644 (file)
@@ -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 */