mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 08:04:07 +02:00
NetworkPkg/HttpBootDxe: Refine the coding style.
Cc: Ye Ting <ting.ye@intel.com> Cc: Bi Dandan <dandan.bi@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com>
This commit is contained in:
parent
9e2a8e9289
commit
2913ebb2b5
@ -1331,7 +1331,7 @@ HttpBootRegisterRamDisk (
|
|||||||
BOOLEAN
|
BOOLEAN
|
||||||
HttpBootIsHttpRedirectStatusCode (
|
HttpBootIsHttpRedirectStatusCode (
|
||||||
IN EFI_HTTP_STATUS_CODE StatusCode
|
IN EFI_HTTP_STATUS_CODE StatusCode
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (StatusCode == HTTP_STATUS_301_MOVED_PERMANENTLY ||
|
if (StatusCode == HTTP_STATUS_301_MOVED_PERMANENTLY ||
|
||||||
StatusCode == HTTP_STATUS_302_FOUND ||
|
StatusCode == HTTP_STATUS_302_FOUND ||
|
||||||
|
@ -457,5 +457,5 @@ HttpBootRegisterRamDisk (
|
|||||||
BOOLEAN
|
BOOLEAN
|
||||||
HttpBootIsHttpRedirectStatusCode (
|
HttpBootIsHttpRedirectStatusCode (
|
||||||
IN EFI_HTTP_STATUS_CODE StatusCode
|
IN EFI_HTTP_STATUS_CODE StatusCode
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user