summaryrefslogtreecommitdiff
path: root/lib/addns
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2023-03-31 11:01:47 +0200
committerAndrew Bartlett <abartlet@samba.org>2023-04-03 03:56:35 +0000
commit1f2858eadaad200a08522d4a0492ad7f12f3da43 (patch)
tree5864cdb51ab650979785f2e5ff10ffe66609a1f1 /lib/addns
parentf59e813c76027184b9d57420e5fb73582505b857 (diff)
downloadsamba-1f2858eadaad200a08522d4a0492ad7f12f3da43.tar.gz
lib:addns: Fix code spelling
Best reviewed with: `git show --word-diff`. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/addns')
-rw-r--r--lib/addns/dnsquery.c4
-rw-r--r--lib/addns/dnsquery_srv.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/addns/dnsquery.c b/lib/addns/dnsquery.c
index 869d4597ee4..7590c9ff508 100644
--- a/lib/addns/dnsquery.c
+++ b/lib/addns/dnsquery.c
@@ -561,7 +561,7 @@ NTSTATUS ads_dns_lookup_a(TALLOC_CTX *ctx,
goto fail;
}
/*
- * Sychronous doesn't need to care about the rcode or
+ * Synchronous doesn't need to care about the rcode or
* a copy of the name_in.
*/
status = ads_dns_lookup_a_recv(req,
@@ -766,7 +766,7 @@ NTSTATUS ads_dns_lookup_aaaa(TALLOC_CTX *ctx,
goto fail;
}
/*
- * Sychronous doesn't need to care about the rcode or
+ * Synchronous doesn't need to care about the rcode or
* a copy of the name_in.
*/
status = ads_dns_lookup_aaaa_recv(req,
diff --git a/lib/addns/dnsquery_srv.c b/lib/addns/dnsquery_srv.c
index 6cba22f32a2..ac9e612b8f9 100644
--- a/lib/addns/dnsquery_srv.c
+++ b/lib/addns/dnsquery_srv.c
@@ -159,7 +159,7 @@ static void dns_rr_srv_fill_done(
* (hundreds) and a DNS that doesn't return the DC IPs in the
* SRV reply, you have bigger problems than this loop linearly
* walking a pointer array. This is theoretically O(n^2), but
- * probably the DNS roundtrip time outweights this by a
+ * probably the DNS roundtrip time outweighs this by a
* lot. And we have a global timeout on this whole
* dns_rr_srv_fill routine.
*/