Jelajahi Sumber

Comment typo.

David Fifield 5 tahun lalu
induk
melakukan
e1e27bd4ce
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 1 1
      dnstt-client/http.go
  2. 1 1
      dnstt-client/tls.go

+ 1 - 1
dnstt-client/http.go

@@ -26,7 +26,7 @@ var httpClient = &http.Client{Timeout: 1 * time.Minute}
 // HTTPS (DoH). Its WriteTo and ReadFrom methods exchange DNS messages over HTTP
 // requests and responses.
 //
-// HTTPPacketConn deals only with alreaday formatted DNS messages. It does not
+// HTTPPacketConn deals only with already formatted DNS messages. It does not
 // handle encoding information into the messages. That is rather the
 // responsibility of DNSPacketConn.
 //

+ 1 - 1
dnstt-client/tls.go

@@ -17,7 +17,7 @@ import (
 // over a TLS channel, prefixing each message with a two-octet length field as
 // in DNS over TCP.
 //
-// TLSPacketConn deals only with alreaday formatted DNS messages. It does not
+// TLSPacketConn deals only with already formatted DNS messages. It does not
 // handle encoding information into the messages. That is rather the
 // responsibility of DNSPacketConn.
 //