diff options
author | Jiaxin Wu <jiaxin.wu@intel.com> | 2016-05-16 11:44:45 +0800 |
---|---|---|
committer | Jiaxin Wu <jiaxin.wu@intel.com> | 2016-05-17 20:23:18 +0800 |
commit | 1fed57ab5d6961c43866b98c6ef56e1740373b1c (patch) | |
tree | c7c3dc64059ac97b3a0daa40cbac419db34dd981 /MdeModulePkg | |
parent | 1250f3706620141d92fec4428352270251c9ac4d (diff) | |
download | edk2-platforms-1fed57ab5d6961c43866b98c6ef56e1740373b1c.tar.xz |
MdeModulePkg: Refine the code for DxeHttpLib
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c b/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c index 46f035ab39..727cc428f4 100644 --- a/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c +++ b/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c @@ -1673,11 +1673,13 @@ HttpGenRequestMessage ( ASSERT (Message != NULL);
- *RequestMsg = NULL;
- MsgSize = 0;
- Success = FALSE;
- HttpHdr = NULL;
- AppendList = NULL;
+ *RequestMsg = NULL;
+ Status = EFI_SUCCESS;
+ HttpHdrSize = 0;
+ MsgSize = 0;
+ Success = FALSE;
+ HttpHdr = NULL;
+ AppendList = NULL;
HttpUtilitiesProtocol = NULL;
//
|