mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 15:44:04 +02:00
ShellPkg Http.c: Remove extra \n
when using -m
param
There is already `PRINT_HII (STRING_TOKEN (STR_GEN_CRLF), NULL);` after `DownloadFile()`, remove this extra `\n` to avoid printing extra blank lines. Signed-off-by: Yang Gang <yanggang@byosoft.com.cn>
This commit is contained in:
parent
1f19c3d6ee
commit
0df3729ad6
@ -1690,7 +1690,7 @@ GetResponse (
|
|||||||
if (!EFI_ERROR (gRT->GetTime (&EndTime, NULL))) {
|
if (!EFI_ERROR (gRT->GetTime (&EndTime, NULL))) {
|
||||||
ElapsedSeconds = EfiTimeToEpoch (&EndTime) - EfiTimeToEpoch (&StartTime);
|
ElapsedSeconds = EfiTimeToEpoch (&EndTime) - EfiTimeToEpoch (&StartTime);
|
||||||
Print (
|
Print (
|
||||||
L",%a%Lus\n",
|
L",%a%Lus",
|
||||||
ElapsedSeconds ? " " : " < ",
|
ElapsedSeconds ? " " : " < ",
|
||||||
ElapsedSeconds > 1 ? (UINT64)ElapsedSeconds : 1
|
ElapsedSeconds > 1 ? (UINT64)ElapsedSeconds : 1
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user