Commit f0b2c13a authored by Daniel Gustafsson's avatar Daniel Gustafsson
Browse files

memcmp: avoid doing single char memcmp

There is no real gain in performing memcmp() comparisons on single
characters, so change these to array subscript inspections which
saves a call and makes the code clearer.

Closes #3486
Reviewed-by: default avatarDaniel Stenberg <>
Reviewed-by: default avatarJay Satiro <>
parent 6bd5bc97
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment