Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ShellPkg Http.c: Remove extra \n when using -m param #9505

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

YangGangUEFI
Copy link
Contributor

There is already PRINT_HII (STRING_TOKEN (STR_GEN_CRLF), NULL); after DownloadFile(), remove this extra \n to avoid printing extra blank lines.

Description

  • Breaking change?
    • N/A
  • Impacts security?
    • N/A
  • Includes tests?
    • N/A

How This Was Tested

Compare the output info of http http://192.168.10.23:5000/BIN/BIOS.bin -m cmd.

before:

FS0:\> http http://192.168.10.23:5000/BIN/BIOS.bin -m
[=======================================>]   32768 Kb, 44s

FS0:\>

after:

FS0:\> http http://192.168.10.23:5000/BIN/BIOS.bin -m
[=======================================>]   32768 Kb, 44s
FS0:\>

Integration Instructions

N/A

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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant