summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/DxeHttpLib
diff options
context:
space:
mode:
authorZhang Lubo <lubo.zhang@intel.com>2015-12-21 07:19:40 +0000
committervanjeff <vanjeff@Edk2>2015-12-21 07:19:40 +0000
commitc3dde2ded7f3bc292030a47402cbde7fbde24001 (patch)
tree027ea7ccd36ff7cd919ad59fb453adf433331124 /MdeModulePkg/Library/DxeHttpLib
parent6e6407b74fb06f146a8ba25eb2ca2dab43645afd (diff)
downloadedk2-platforms-c3dde2ded7f3bc292030a47402cbde7fbde24001.tar.xz
MdeModulePkg: Clean code to follow C Coding style.
Clean code to follow C Coding style. (Sync patch r18943 from main trunk.) Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo <lubo.zhang@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@19426 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/DxeHttpLib')
-rw-r--r--MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c b/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c
index 6b830fdd9b..143baabdec 100644
--- a/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c
+++ b/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c
@@ -189,7 +189,7 @@ NetHttpParseAuthorityChar (
*IsRightBracket = TRUE;
}
- if (Char == ':' && *IsRightBracket == TRUE) {
+ if (Char == ':' && *IsRightBracket) {
return UrlParserPortStart;
}
return UrlParserHostIpv6;