diff options
Diffstat (limited to 'gtk/tcp_graph.c')
-rw-r--r-- | gtk/tcp_graph.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk/tcp_graph.c b/gtk/tcp_graph.c index f477262839..f33d91754b 100644 --- a/gtk/tcp_graph.c +++ b/gtk/tcp_graph.c @@ -3,7 +3,7 @@ * By Pavel Mores <pvl@uh.cz> * Win32 port: rwh@unifiedtech.com * - * $Id: tcp_graph.c,v 1.46 2004/01/21 21:19:34 ulfl Exp $ + * $Id: tcp_graph.c,v 1.47 2004/01/25 21:55:11 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1783,6 +1783,7 @@ static void graph_segment_list_get (struct graph *g) struct segment current; int condition; int err; + gchar *err_info; debug(DBS_FENTRY) puts ("graph_segment_list_get()"); get_headers (cfile.current_frame, cfile.pd, ¤t); @@ -1793,10 +1794,10 @@ static void graph_segment_list_get (struct graph *g) for (ptr=cfile.plist; ptr; ptr=ptr->next) { if (!wtap_seek_read (cfile.wth, ptr->file_off, &pseudo_header, - pd, ptr->cap_len, &err)) { + pd, ptr->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); break; } if (!segment) |