]> git.proxmox.com Git - mirror_edk2.git/commitdiff
NetworkPkg: Fix some typos in Http boot driver.
authorPaulo Alcantara <paulo.alc.cavalcanti@hp.com>
Tue, 12 Jan 2016 01:37:48 +0000 (01:37 +0000)
committersfu5 <sfu5@Edk2>
Tue, 12 Jan 2016 01:37:48 +0000 (01:37 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Paulo Alcantara <paulo.alc.cavalcanti@hp.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19640 6f19259b-4bc3-4df7-8a09-765794883524

NetworkPkg/HttpBootDxe/HttpBootClient.c
NetworkPkg/HttpBootDxe/HttpBootClient.h
NetworkPkg/HttpBootDxe/HttpBootSupport.c
NetworkPkg/HttpBootDxe/HttpBootSupport.h

index a2cad0a6fba407b6c51a327af3d08a56bfdc6bfd..f0817e92e21e38b3d7ef4ccf606947ce2efbf605 100644 (file)
@@ -719,8 +719,8 @@ HttpBootGetBootFile (
   EFI_STATUS                 Status;\r
   CHAR8                      *HostName;\r
   EFI_HTTP_REQUEST_DATA      *RequestData;\r
-  HTTP_IO_RESOPNSE_DATA      *ResponseData;\r
-  HTTP_IO_RESOPNSE_DATA      ResponseBody;\r
+  HTTP_IO_RESPONSE_DATA      *ResponseData;\r
+  HTTP_IO_RESPONSE_DATA      ResponseBody;\r
   HTTP_IO                    *HttpIo;\r
   HTTP_IO_HEADER             *HttpIoHeader;\r
   VOID                       *Parser;\r
@@ -884,7 +884,7 @@ HttpBootGetBootFile (
   //\r
   // 3.1 First step, use zero BodyLength to only receive the response headers.\r
   //\r
-  ResponseData = AllocateZeroPool (sizeof(HTTP_IO_RESOPNSE_DATA));\r
+  ResponseData = AllocateZeroPool (sizeof(HTTP_IO_RESPONSE_DATA));\r
   if (ResponseData == NULL) {\r
     Status = EFI_OUT_OF_RESOURCES;\r
     goto ERROR_4;\r
@@ -948,7 +948,7 @@ HttpBootGetBootFile (
     // 3.4.2, start the message-body download, the identity and chunked transfer-coding\r
     // is handled in different path here.\r
     //\r
-    ZeroMem (&ResponseBody, sizeof (HTTP_IO_RESOPNSE_DATA));\r
+    ZeroMem (&ResponseBody, sizeof (HTTP_IO_RESPONSE_DATA));\r
     if (IdentityMode) {\r
       //\r
       // In identity transfer-coding there is no need to parse the message body,\r
index 06b91098fc38ff472699f4800531812dd3e5ea2f..e618316f10e67e575faec3021d0ddd2040035d90 100644 (file)
@@ -41,7 +41,7 @@ typedef struct {
 typedef struct {\r
   LIST_ENTRY                 Link;            // Link to the CacheList in driver's private data.\r
   EFI_HTTP_REQUEST_DATA      *RequestData;\r
-  HTTP_IO_RESOPNSE_DATA      *ResponseData;   // Not include any message-body data.\r
+  HTTP_IO_RESPONSE_DATA      *ResponseData;   // Not include any message-body data.\r
   UINTN                      EntityLength;\r
   LIST_ENTRY                 EntityDataList;  // Entity data (message-body)\r
 } HTTP_BOOT_CACHE_CONTENT;\r
index 1fc4e768806cc31b126cdc984683682c96b56d01..f9bbe4b1a0e7ddf8d97666f24ab6802118af929e 100644 (file)
@@ -914,7 +914,7 @@ HttpIoSendRequest (
                                 FALSE to continue receive the previous response message.\r
   @param[out]  ResponseData     Point to a wrapper of the received response data.\r
   \r
-  @retval EFI_SUCCESS            The HTTP resopnse is received.\r
+  @retval EFI_SUCCESS            The HTTP response is received.\r
   @retval EFI_INVALID_PARAMETER  One or more parameters are invalid.\r
   @retval EFI_OUT_OF_RESOURCES   Failed to allocate memory.\r
   @retval EFI_DEVICE_ERROR       An unexpected network or system error occurred.\r
@@ -925,7 +925,7 @@ EFI_STATUS
 HttpIoRecvResponse (\r
   IN      HTTP_IO                  *HttpIo,\r
   IN      BOOLEAN                  RecvMsgHeader,\r
-     OUT  HTTP_IO_RESOPNSE_DATA    *ResponseData\r
+     OUT  HTTP_IO_RESPONSE_DATA    *ResponseData\r
   )\r
 {\r
   EFI_STATUS                 Status;\r
index d5956720a7cf9465a8c78deb82c636f5198f76eb..2eba14e0267ff8f699a77307c47764a258f4e487 100644 (file)
@@ -168,7 +168,7 @@ typedef union {
 } HTTP_IO_CONFIG_DATA;\r
 \r
 //\r
-// HTTO_IO wrapper of the EFI HTTP service.\r
+// HTTP_IO wrapper of the EFI HTTP service.\r
 //\r
 typedef struct {\r
   UINT8                     IpVersion;\r
@@ -196,7 +196,7 @@ typedef struct {
   EFI_HTTP_HEADER             *Headers;\r
   UINTN                       BodyLength;\r
   CHAR8                       *Body;\r
-} HTTP_IO_RESOPNSE_DATA;\r
+} HTTP_IO_RESPONSE_DATA;\r
 \r
 /**\r
   Retrieve the host address using the EFI_DNS6_PROTOCOL.\r
@@ -303,7 +303,7 @@ HttpIoSendRequest (
                                 FALSE to continue receive the previous response message.\r
   @param[out]  ResponseData     Point to a wrapper of the received response data.\r
   \r
-  @retval EFI_SUCCESS            The HTTP resopnse is received.\r
+  @retval EFI_SUCCESS            The HTTP response is received.\r
   @retval EFI_INVALID_PARAMETER  One or more parameters are invalid.\r
   @retval EFI_OUT_OF_RESOURCES   Failed to allocate memory.\r
   @retval EFI_DEVICE_ERROR       An unexpected network or system error occurred.\r
@@ -314,7 +314,7 @@ EFI_STATUS
 HttpIoRecvResponse (\r
   IN      HTTP_IO                  *HttpIo,\r
   IN      BOOLEAN                  RecvMsgHeader,\r
-     OUT  HTTP_IO_RESOPNSE_DATA    *ResponseData\r
+     OUT  HTTP_IO_RESPONSE_DATA    *ResponseData\r
   );\r
 \r
 #endif\r