diff options
Diffstat (limited to 'proto_hier_stats.c')
-rw-r--r-- | proto_hier_stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto_hier_stats.c b/proto_hier_stats.c index ae0ee50350..68eaaa1eac 100644 --- a/proto_hier_stats.c +++ b/proto_hier_stats.c @@ -147,7 +147,7 @@ process_frame(frame_data *frame, column_info *cinfo, ph_stats_t* ps) /* Load the frame from the capture file */ buffer_init(&buf, 1500); - if (cf_read_frame_r(&cfile, frame, &phdr, &buf) == -1) + if (!cf_read_frame_r(&cfile, frame, &phdr, &buf)) return FALSE; /* failure */ /* Dissect the frame tree not visible */ |