From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.120]) by mx.groups.io with SMTP id smtpd.web09.6503.1581037774755427844 for ; Thu, 06 Feb 2020 17:09:34 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dkEhvyNm; spf=pass (domain: redhat.com, ip: 205.139.110.120, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581037773; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PvtALFYPQFycRACabjR5XlJ34RnDcyUakv3tCxi8gng=; b=dkEhvyNmDUNrPvQovBh92usoLbLxhjJb2UqsTOyoK34uUfTsYvlyDK5Ih0OKq7x8tZXYG4 yF9HSgYnavJFtfoE+3wxG7aueAYCgTcVRURO/CnL8km6gJqaWIOAJ84ZVyqPr2WGeqQ2JP K60157dE6NzhLpwFTcL+VeDWf2oKnCE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-40-C1L056MNPJOMVQbbMXOCIw-1; Thu, 06 Feb 2020 20:09:29 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EEA888010F1; Fri, 7 Feb 2020 01:09:28 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-120.brq.redhat.com [10.40.204.120]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DF1DD5C1BB; Fri, 7 Feb 2020 01:09:27 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Laszlo Ersek , Eric Dong Subject: [PATCH v3 33/78] NetworkPkg/DnsDxe: Fix a typo Date: Fri, 7 Feb 2020 02:07:46 +0100 Message-Id: <20200207010831.9046-34-philmd@redhat.com> In-Reply-To: <20200207010831.9046-1-philmd@redhat.com> References: <20200207010831.9046-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-MC-Unique: C1L056MNPJOMVQbbMXOCIw-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Fix the same typo in various comments. Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Maciej Rabeda Reviewed-by: Maciej Rabeda Signed-off-by: Philippe Mathieu-Daude --- NetworkPkg/DnsDxe/DnsImpl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/NetworkPkg/DnsDxe/DnsImpl.c b/NetworkPkg/DnsDxe/DnsImpl.c index ca4ef506a08a..4c232740be3f 100644 --- a/NetworkPkg/DnsDxe/DnsImpl.c +++ b/NetworkPkg/DnsDxe/DnsImpl.c @@ -1179,7 +1179,7 @@ ParseDnsResponse ( RemainingLength =3D Length; =20 // - // Check whether the remaining packet length is avaiable or not. + // Check whether the remaining packet length is available or not. // if (RemainingLength <=3D sizeof (DNS_HEADER)) { *Completed =3D FALSE; @@ -1217,7 +1217,7 @@ ParseDnsResponse ( QueryNameLen =3D (UINT32) AsciiStrLen (QueryName) + 1; =20 // - // Check whether the remaining packet length is avaiable or not. + // Check whether the remaining packet length is available or not. // if (RemainingLength <=3D QueryNameLen + sizeof (DNS_QUERY_SECTION)) { *Completed =3D FALSE; @@ -1376,7 +1376,7 @@ ParseDnsResponse ( // while (AnswerSectionNum < DnsHeader->AnswersNum) { // - // Check whether the remaining packet length is avaiable or not. + // Check whether the remaining packet length is available or not. // if (RemainingLength <=3D sizeof (UINT16) + sizeof (DNS_ANSWER_SECTION)= ) { *Completed =3D FALSE; @@ -1404,7 +1404,7 @@ ParseDnsResponse ( AnswerSection->DataLength =3D NTOHS (AnswerSection->DataLength); =20 // - // Check whether the remaining packet length is avaiable or not. + // Check whether the remaining packet length is available or not. // if (RemainingLength < AnswerSection->DataLength) { *Completed =3D FALSE; --=20 2.21.1