diff options
author | Ashok Narayanan <ashokn@cisco.com> | 1999-09-22 01:26:50 +0000 |
---|---|---|
committer | Ashok Narayanan <ashokn@cisco.com> | 1999-09-22 01:26:50 +0000 |
commit | 3dfa56c4984047d92a8df46f50b92111a8bdf574 (patch) | |
tree | e41c0cbc0a89e356df2ca7ef5af0596b8fe40fba /gtk | |
parent | 453a4e95fb0b91201f2950bac43316f330353034 (diff) |
This commit contains support for reading capture files compressed using
gzip. The zLib library is used for this purpose. If zLib is not available
(or it's use is disabled by the --disable-zlib option to configure), you
can still compile Ethereal but it will be unable to read compressed capture
files.
IMPORTANT:
Now all file accesses to capture files should be done through special macros.
Specifically, for any use of the following functions on capture files, replace them.
The arguments for the right-side functions are exactly the same as for the
original stdio functions.
fopen file_open
fdopen filed_open
fread file_read
fwrite file_write
fseek file_seek
fclose file_close
ferror file_error
svn path=/trunk/; revision=695
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/main.c b/gtk/main.c index b895f01571..50c9b15d56 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -1,6 +1,6 @@ /* main.c * - * $Id: main.c,v 1.5 1999/09/14 08:06:33 guy Exp $ + * $Id: main.c,v 1.6 1999/09/22 01:26:33 ashokn Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -846,7 +846,7 @@ main(int argc, char *argv[]) gtk_box_pack_start(GTK_BOX(main_vbox), stat_hbox, FALSE, TRUE, 0); gtk_widget_show(stat_hbox); - prog_bar = gtk_progress_bar_new(); + prog_bar = gtk_progress_bar_new(); gtk_box_pack_start(GTK_BOX(stat_hbox), prog_bar, FALSE, TRUE, 3); gtk_widget_show(prog_bar); |