[edk2-devel] [PATCH 35/79] NetworkPkg/DnsDxe: Fix a typo

Maciej Rabeda maciej.rabeda at linux.intel.com
Wed Dec 4 13:35:04 UTC 2019


Reviewed-by: Maciej Rabeda <maciej.rabeda at intel.com>

On 03-Dec-19 17:15, Philippe Mathieu-Daudé wrote:
> Fix the same typo in various comments.
>
> Cc: Jiaxin Wu <jiaxin.wu at intel.com>
> Cc: Siyuan Fu <siyuan.fu at intel.com>
> Cc: Maciej Rabeda <maciej.rabeda at intel.com>
> Signed-off-by: Philippe Mathieu-Daude <philmd at redhat.com>
> ---
>   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  = Length;
>   
>     //
> -  // Check whether the remaining packet length is avaiable or not.
> +  // Check whether the remaining packet length is available or not.
>     //
>     if (RemainingLength <= sizeof (DNS_HEADER)) {
>       *Completed = FALSE;
> @@ -1217,7 +1217,7 @@ ParseDnsResponse (
>     QueryNameLen = (UINT32) AsciiStrLen (QueryName) + 1;
>   
>     //
> -  // Check whether the remaining packet length is avaiable or not.
> +  // Check whether the remaining packet length is available or not.
>     //
>     if (RemainingLength <= QueryNameLen + sizeof (DNS_QUERY_SECTION)) {
>       *Completed = 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 <= sizeof (UINT16) + sizeof (DNS_ANSWER_SECTION)) {
>         *Completed = FALSE;
> @@ -1404,7 +1404,7 @@ ParseDnsResponse (
>       AnswerSection->DataLength = NTOHS (AnswerSection->DataLength);
>   
>       //
> -    // 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 = FALSE;

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#51737): https://edk2.groups.io/g/devel/message/51737
Mute This Topic: https://groups.io/mt/65773923/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list