Skip to content
This repository was archived by the owner on Nov 14, 2023. It is now read-only.

Testing Travis-ci.com build integration#24

Open
liamdennehy wants to merge 2 commits intoliamdennehy:pr23from
tklai:duplicated-digest-fix
Open

Testing Travis-ci.com build integration#24
liamdennehy wants to merge 2 commits intoliamdennehy:pr23from
tklai:duplicated-digest-fix

Conversation

@liamdennehy
Copy link
Copy Markdown
Owner

No description provided.

tklai added 2 commits July 28, 2021 13:00
When the `digest` is at index 0, `array_search()` will return 0 but the statement will become `!0`, which indicates the `digest` is not found in the `$headerList`.
This change will improve the checking and only append `digest` when `array_search() returns `false`.
Signed-off-by: TK Lai <iam@tklai.net>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants