Commit 2af9a376 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

src: Code cleanup

parent d4b18900
......@@ -229,11 +229,11 @@ std::vector<nghttp2_nv> sort_nva(const nghttp2_nv *nva, size_t nvlen)
auto end = v[i].value + v[i].valuelen;
for(;;) {
// Skip 0 length value
j = std::find_if_not(j, end,
[](uint8_t c)
{
return c == '\0';
});
j = std::find_if(j, end,
[](uint8_t c)
{
return c != '\0';
});
if(j == end) {
break;
}
......
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