summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c')
-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;