summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library
diff options
context:
space:
mode:
authorZhang Lubo <lubo.zhang@intel.com>2015-11-25 08:08:25 +0000
committerluobozhang <luobozhang@Edk2>2015-11-25 08:08:25 +0000
commitb8b65a0320c7f8ec797171b335dfda2456528d57 (patch)
treec06c702b86e7a7420e8e3b0b8abc05916f2a9fbf /MdeModulePkg/Library
parent9f419739d1ae849e0c4d75a131502f9367ca4a7d (diff)
downloadedk2-b8b65a0320c7f8ec797171b335dfda2456528d57.zip
edk2-b8b65a0320c7f8ec797171b335dfda2456528d57.tar.gz
edk2-b8b65a0320c7f8ec797171b335dfda2456528d57.tar.bz2
MdeModulePkg: Clean code to follow C Coding style.
Clean code to follow C Coding style. 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/trunk/edk2@18943 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library')
-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 500b3c7..49fa80b 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;