From b8b65a0320c7f8ec797171b335dfda2456528d57 Mon Sep 17 00:00:00 2001 From: Zhang Lubo Date: Wed, 25 Nov 2015 08:08:25 +0000 Subject: [PATCH] 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 git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18943 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c b/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c index 500b3c72b3..49fa80ba8c 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; -- 2.39.2