diff options
Diffstat (limited to 'proto_hier_stats.c')
-rw-r--r-- | proto_hier_stats.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/proto_hier_stats.c b/proto_hier_stats.c index e89ac15c27..6490d40b53 100644 --- a/proto_hier_stats.c +++ b/proto_hier_stats.c @@ -1,7 +1,7 @@ /* proto_hier_stats.c * Routines for calculating statistics based on protocol. * - * $Id: proto_hier_stats.c,v 1.22 2004/01/21 22:00:28 ulfl Exp $ + * $Id: proto_hier_stats.c,v 1.23 2004/01/25 21:55:10 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -128,12 +128,13 @@ process_frame(frame_data *frame, column_info *cinfo, ph_stats_t* ps) union wtap_pseudo_header phdr; guint8 pd[WTAP_MAX_PACKET_SIZE]; int err; + gchar *err_info; /* Load the frame from the capture file */ if (!wtap_seek_read(cfile.wth, frame->file_off, &phdr, pd, - frame->cap_len, &err)) { + frame->cap_len, &err, &err_info)) { simple_dialog(ESD_TYPE_CRIT, NULL, - file_read_error_message(err), cfile.filename); + cf_read_error_message(err, err_info), cfile.filename); return FALSE; /* failure */ } |