From c3dde2ded7f3bc292030a47402cbde7fbde24001 Mon Sep 17 00:00:00 2001 From: Zhang Lubo Date: Mon, 21 Dec 2015 07:19:40 +0000 Subject: 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 git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@19426 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdeModulePkg/Library/DxeHttpLib') 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; -- cgit v1.2.3