Revision: 19640
http://sourceforge.net/p/edk2/code/19640
Author: sfu5
Date: 2016-01-12 01:37:48 +0000 (Tue, 12 Jan 2016)
Log Message:
-----------
NetworkPkg: Fix some typos in Http boot driver.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Paulo Alcantara <[email protected]>
Reviewed-by: Jiaxin Wu <[email protected]>
Reviewed-by: Fu Siyuan <[email protected]>
Modified Paths:
--------------
trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootClient.c
trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootClient.h
trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootSupport.c
trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootSupport.h
Modified: trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootClient.c
===================================================================
--- trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootClient.c 2016-01-12 00:37:02 UTC
(rev 19639)
+++ trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootClient.c 2016-01-12 01:37:48 UTC
(rev 19640)
@@ -719,8 +719,8 @@
EFI_STATUS Status;
CHAR8 *HostName;
EFI_HTTP_REQUEST_DATA *RequestData;
- HTTP_IO_RESOPNSE_DATA *ResponseData;
- HTTP_IO_RESOPNSE_DATA ResponseBody;
+ HTTP_IO_RESPONSE_DATA *ResponseData;
+ HTTP_IO_RESPONSE_DATA ResponseBody;
HTTP_IO *HttpIo;
HTTP_IO_HEADER *HttpIoHeader;
VOID *Parser;
@@ -884,7 +884,7 @@
//
// 3.1 First step, use zero BodyLength to only receive the response headers.
//
- ResponseData = AllocateZeroPool (sizeof(HTTP_IO_RESOPNSE_DATA));
+ ResponseData = AllocateZeroPool (sizeof(HTTP_IO_RESPONSE_DATA));
if (ResponseData == NULL) {
Status = EFI_OUT_OF_RESOURCES;
goto ERROR_4;
@@ -948,7 +948,7 @@
// 3.4.2, start the message-body download, the identity and chunked
transfer-coding
// is handled in different path here.
//
- ZeroMem (&ResponseBody, sizeof (HTTP_IO_RESOPNSE_DATA));
+ ZeroMem (&ResponseBody, sizeof (HTTP_IO_RESPONSE_DATA));
if (IdentityMode) {
//
// In identity transfer-coding there is no need to parse the message
body,
Modified: trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootClient.h
===================================================================
--- trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootClient.h 2016-01-12 00:37:02 UTC
(rev 19639)
+++ trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootClient.h 2016-01-12 01:37:48 UTC
(rev 19640)
@@ -41,7 +41,7 @@
typedef struct {
LIST_ENTRY Link; // Link to the CacheList in
driver's private data.
EFI_HTTP_REQUEST_DATA *RequestData;
- HTTP_IO_RESOPNSE_DATA *ResponseData; // Not include any message-body
data.
+ HTTP_IO_RESPONSE_DATA *ResponseData; // Not include any message-body
data.
UINTN EntityLength;
LIST_ENTRY EntityDataList; // Entity data (message-body)
} HTTP_BOOT_CACHE_CONTENT;
Modified: trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootSupport.c
===================================================================
--- trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootSupport.c 2016-01-12 00:37:02 UTC
(rev 19639)
+++ trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootSupport.c 2016-01-12 01:37:48 UTC
(rev 19640)
@@ -914,7 +914,7 @@
FALSE to continue receive the previous
response message.
@param[out] ResponseData Point to a wrapper of the received response
data.
- @retval EFI_SUCCESS The HTTP resopnse is received.
+ @retval EFI_SUCCESS The HTTP response is received.
@retval EFI_INVALID_PARAMETER One or more parameters are invalid.
@retval EFI_OUT_OF_RESOURCES Failed to allocate memory.
@retval EFI_DEVICE_ERROR An unexpected network or system error
occurred.
@@ -925,7 +925,7 @@
HttpIoRecvResponse (
IN HTTP_IO *HttpIo,
IN BOOLEAN RecvMsgHeader,
- OUT HTTP_IO_RESOPNSE_DATA *ResponseData
+ OUT HTTP_IO_RESPONSE_DATA *ResponseData
)
{
EFI_STATUS Status;
Modified: trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootSupport.h
===================================================================
--- trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootSupport.h 2016-01-12 00:37:02 UTC
(rev 19639)
+++ trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootSupport.h 2016-01-12 01:37:48 UTC
(rev 19640)
@@ -168,7 +168,7 @@
} HTTP_IO_CONFIG_DATA;
//
-// HTTO_IO wrapper of the EFI HTTP service.
+// HTTP_IO wrapper of the EFI HTTP service.
//
typedef struct {
UINT8 IpVersion;
@@ -196,7 +196,7 @@
EFI_HTTP_HEADER *Headers;
UINTN BodyLength;
CHAR8 *Body;
-} HTTP_IO_RESOPNSE_DATA;
+} HTTP_IO_RESPONSE_DATA;
/**
Retrieve the host address using the EFI_DNS6_PROTOCOL.
@@ -303,7 +303,7 @@
FALSE to continue receive the previous
response message.
@param[out] ResponseData Point to a wrapper of the received response
data.
- @retval EFI_SUCCESS The HTTP resopnse is received.
+ @retval EFI_SUCCESS The HTTP response is received.
@retval EFI_INVALID_PARAMETER One or more parameters are invalid.
@retval EFI_OUT_OF_RESOURCES Failed to allocate memory.
@retval EFI_DEVICE_ERROR An unexpected network or system error
occurred.
@@ -314,7 +314,7 @@
HttpIoRecvResponse (
IN HTTP_IO *HttpIo,
IN BOOLEAN RecvMsgHeader,
- OUT HTTP_IO_RESOPNSE_DATA *ResponseData
+ OUT HTTP_IO_RESPONSE_DATA *ResponseData
);
#endif
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits