diff --git a/src/decode.c b/src/decode.c index a3bd123..641e884 100644 --- a/src/decode.c +++ b/src/decode.c @@ -130,8 +130,10 @@ static int frame_fprint(FILE *stream, goto error_io; } - if (hexdump_fprint(stream, data, len) < 0) { - goto error_io; + if (frame->info) { + if (hexdump_fprint(stream, frame->info, frame->len) < 0) { + goto error_io; + } } return 0;