app_helper: Show flags in hex

This commit is contained in:
Tatsuhiro Tsujikawa 2013-08-01 21:42:16 +09:00
parent 1bbcbd365c
commit 8fd1953b21
1 changed files with 1 additions and 1 deletions

View File

@ -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