diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-06-08 08:50:51 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-06-08 08:50:51 +0000 |
commit | 2da9bb269610cd399b161fb521a53a21a9a967a8 (patch) | |
tree | d90e725c6804ed82b4e546e7bffc90c984551d9f /gtk/print_dlg.c | |
parent | 14c9f7464a698c13c73a1b255f127c2d08fe431a (diff) | |
download | wireshark-2da9bb269610cd399b161fb521a53a21a9a967a8.tar.gz wireshark-2da9bb269610cd399b161fb521a53a21a9a967a8.tar.bz2 wireshark-2da9bb269610cd399b161fb521a53a21a9a967a8.zip |
When printing the contents of a raw-data field, don't use the raw data
of the current frame as the source, use the raw data of the tvbuff
that's the data source of that field.
svn path=/trunk/; revision=3531
Diffstat (limited to 'gtk/print_dlg.c')
-rw-r--r-- | gtk/print_dlg.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk/print_dlg.c b/gtk/print_dlg.c index 5ef506cf67..5804a41bc0 100644 --- a/gtk/print_dlg.c +++ b/gtk/print_dlg.c @@ -1,12 +1,11 @@ /* print_dlg.c * Dialog boxes for printing * - * $Id: print_dlg.c,v 1.22 2000/11/21 23:54:10 guy Exp $ + * $Id: print_dlg.c,v 1.23 2001/06/08 08:50:51 guy Exp $ * * Ethereal - Network traffic analyzer - * By Gerald Combs <gerald@zing.org> + * By Gerald Combs <gerald@ethereal.com> * Copyright 1998 Gerald Combs - * * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -576,7 +575,7 @@ file_print_packet_cmd_cb(GtkWidget *widget, gpointer data) { print_args.print_summary = FALSE; print_args.print_hex = FALSE; print_args.expand_all = TRUE; - proto_tree_print(TRUE, &print_args, (GNode*) cfile.protocol_tree, cfile.pd, + proto_tree_print(TRUE, &print_args, (GNode*) cfile.protocol_tree, cfile.current_frame, fh); print_finale(fh, prefs.pr_format); close_print_dest(print_args.to_file, fh); |