Skip to content
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 <daniel@haxx.se>
Reviewed-by: default avatarJay Satiro <raysatiro@yahoo.com>
parent 6bd5bc97
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