aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-04-20 22:34:08 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-04-20 22:34:08 +0000
commit10f80b0c4bb5a79aa5bff416a28d4d3df04913c2 (patch)
treef7272f97ddd40980514981d259656c262b86adfc /file.c
parentd3849f1ee2213c32742375f8cfa221a549ef491d (diff)
changed postscript output:
reduced print margin to 1/2 inch and font size to 8 point, include filename in page header, wrap too long lines git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10652 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'file.c')
-rw-r--r--file.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/file.c b/file.c
index c1a6ced605..ded562f73f 100644
--- a/file.c
+++ b/file.c
@@ -1,7 +1,7 @@
/* file.c
* File I/O routines
*
- * $Id: file.c,v 1.375 2004/04/16 20:20:54 guy Exp $
+ * $Id: file.c,v 1.376 2004/04/20 22:34:08 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1609,7 +1609,7 @@ print_packets(capture_file *cf, print_args_t *print_args)
if (callback_args.print_fh == NULL)
return PP_OPEN_ERROR; /* attempt to open destination failed */
- print_preamble(callback_args.print_fh, print_args->format);
+ print_preamble(callback_args.print_fh, print_args->format, cf->filename);
if (ferror(callback_args.print_fh)) {
close_print_dest(print_args->to_file, callback_args.print_fh);
return PP_WRITE_ERROR;
@@ -1662,9 +1662,9 @@ print_packets(capture_file *cf, print_args_t *print_args)
}
/* Right-justify the packet number column. */
- if (cf->cinfo.col_fmt[i] == COL_NUMBER)
+/* if (cf->cinfo.col_fmt[i] == COL_NUMBER)
sprintf(cp, "%*s", callback_args.col_widths[i], cf->cinfo.col_title[i]);
- else
+ else*/
sprintf(cp, "%-*s", callback_args.col_widths[i], cf->cinfo.col_title[i]);
cp += column_len;
if (i != cf->cinfo.num_cols - 1)