NetworkPkg: Fix some typos in Http boot driver.

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
This commit is contained in:
Paulo Alcantara
2016-01-12 01:37:48 +00:00
committed by sfu5
parent 91e914f587
commit ef422fc53c
4 changed files with 11 additions and 11 deletions

View File

@ -719,8 +719,8 @@ HttpBootGetBootFile (
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 @@ HttpBootGetBootFile (
//
// 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 @@ HttpBootGetBootFile (
// 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,