Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Unified Diff: pkg/mdns/lib/src/packet.dart

Issue 1408863007: Correct two typos. (Closed) Base URL: https://github.com/dart-lang/fletch.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/mdns/lib/src/packet.dart
diff --git a/pkg/mdns/lib/src/packet.dart b/pkg/mdns/lib/src/packet.dart
index 548e8c7d0f2287452d510c05dc92635316f84eef..123517d890f73d7a7cf434feefe6cb3cfeb77319 100644
--- a/pkg/mdns/lib/src/packet.dart
+++ b/pkg/mdns/lib/src/packet.dart
@@ -69,7 +69,7 @@ class FQDNReadResult {
///
/// If decoding fails (e.g. due to an invalid packet) `null` is returned.
///
-/// See See https://tools.ietf.org/html/rfc1035 for the format.
+/// See https://tools.ietf.org/html/rfc1035 for the format.
List<DecodeResult> decodeMDnsResponse(List<int> packet) {
int length = packet.length;
if (length < headerSize) return null;
@@ -100,7 +100,7 @@ List<DecodeResult> decodeMDnsResponse(List<int> packet) {
// Read a FQDN at the given offset. Returns a pair with the FQDN
// parts and the number of bytes consumed.
//
- // If decoding fails (e.g. die to an invalid packet) `null` is returned.
+ // If decoding fails (e.g. due to an invalid packet) `null` is returned.
FQDNReadResult readFQDN(int offset) {
List<String> parts = [];
int prevOffset = offset;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698