]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Mtftp4Dxe/Mtftp4Option.c
NetworkPkg/Mtftp4Dxe: Fix various typos
[mirror_edk2.git] / NetworkPkg / Mtftp4Dxe / Mtftp4Option.c
index 013fe008eee8a4802692c0e8ccdb7562bd7f34f0..21c1e421392b4695d150f2c811dbbf350073ad2e 100644 (file)
@@ -18,13 +18,13 @@ CHAR8 *mMtftp4SupportedOptions[MTFTP4_SUPPORTED_OPTIONS] = {
 \r
 \r
 /**\r
-  Check whether two ascii strings are equel, ignore the case.\r
+  Check whether two ascii strings are equal, ignore the case.\r
 \r
   @param  Str1                   The first ascii string\r
   @param  Str2                   The second ascii string\r
 \r
   @retval TRUE                   Two strings are equal when case is ignored.\r
-  @retval FALSE                  Two string are not equal.\r
+  @retval FALSE                  Two strings are not equal.\r
 \r
 **/\r
 BOOLEAN\r
@@ -93,7 +93,7 @@ NetStringToU32 (
   Convert a string of the format "192.168.0.1" to an IP address.\r
 \r
   @param  Str                    The string representation of IP\r
-  @param  Ip                     The varible to get IP.\r
+  @param  Ip                     The variable to get IP.\r
 \r
   @retval EFI_INVALID_PARAMETER  The IP string is invalid.\r
   @retval EFI_SUCCESS            The IP is parsed into the Ip\r
@@ -126,7 +126,7 @@ NetStringToIp (
     Addr = (Addr << 8) | Byte;\r
 \r
     //\r
-    // Skip all the digitals and check whether the sepeator is the dot\r
+    // Skip all the digitals and check whether the separator is the dot\r
     //\r
     while (NET_IS_DIGIT (*Str)) {\r
       Str++;\r
@@ -230,7 +230,7 @@ Mtftp4FillOptions (
   @param  OptionList             The point to get the option array.\r
 \r
   @retval EFI_INVALID_PARAMETER  The parametera are invalid or packet isn't a\r
-                                 well-formated OACK packet.\r
+                                 well-formatted OACK packet.\r
   @retval EFI_SUCCESS            The option array is build\r
   @retval EFI_OUT_OF_RESOURCES   Failed to allocate memory for the array\r
 \r
@@ -314,7 +314,7 @@ Mtftp4ExtractMcast (
   UINT32                    Num;\r
 \r
   //\r
-  // The multicast option is formated like "204.0.0.1,1857,1"\r
+  // The multicast option is formatted like "204.0.0.1,1857,1"\r
   // The server can also omit the ip and port, use ",,1"\r
   //\r
   if (*Value == ',') {\r
@@ -461,7 +461,7 @@ Mtftp4ParseOption (
     } else if (NetStringEqualNoCase (This->OptionStr, (UINT8 *) "multicast")) {\r
       //\r
       // Multicast option, if it is a request, the value must be a zero\r
-      // length string, otherwise, it is formated like "204.0.0.1,1857,1\0"\r
+      // length string, otherwise, it is formatted like "204.0.0.1,1857,1\0"\r
       //\r
       if (Request) {\r
         if (*(This->ValueStr) != '\0') {\r