Commit 8fd1953b authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

app_helper: Show flags in hex

parent 1bbcbd36
...@@ -146,7 +146,7 @@ void print_timer() ...@@ -146,7 +146,7 @@ void print_timer()
namespace { namespace {
void print_frame_hd(const nghttp2_frame_hd& hd) void print_frame_hd(const nghttp2_frame_hd& hd)
{ {
printf("<length=%d, flags=%u, stream_id=%d>\n", printf("<length=%d, flags=0x%02x, stream_id=%d>\n",
hd.length, hd.flags, hd.stream_id); hd.length, hd.flags, hd.stream_id);
} }
} // namespace } // namespace
......
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