Commit e0119452 authored by Wenfeng Liu's avatar Wenfeng Liu

Use memeq() instead of lstreq() in lookup_token().

parent af9aeee7
......@@ -122,7 +122,7 @@ static int32_t lookup_token(const uint8_t *name, size_t namelen) {
case '{}':'''.format(c)
for k in headers:
print '''\
if (lstreq("{}", name, {})) {{
if (memeq("{}", name, {})) {{
return {};
}}'''.format(k[:-1], size - 1, to_enum_hd(k))
print '''\
......
This diff is collapsed.
Markdown is supported
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