aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-01-29 13:30:08 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-01-29 13:30:08 +0000
commit18d8686647ba6b7ddc5c2cad51b7379148f274f9 (patch)
treeeaa70eef679f1580d84c829c1d015565b5764022 /gtk
parent1a9d19e2b0aa27336ea2e537948702a8035e69d7 (diff)
downloadwireshark-18d8686647ba6b7ddc5c2cad51b7379148f274f9.tar.gz
wireshark-18d8686647ba6b7ddc5c2cad51b7379148f274f9.tar.bz2
wireshark-18d8686647ba6b7ddc5c2cad51b7379148f274f9.zip
I forgot to toggle the data_out_file "semaphore" (well, we us it like one)
at the end of follow_read_stream(), which causes a segfault if you change the TCP Follow screen to EBCDIC, and then go back and select a TCP packet. svn path=/trunk/; revision=1578
Diffstat (limited to 'gtk')
-rw-r--r--gtk/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/main.c b/gtk/main.c
index 701f3a87bf..8883ecdb1d 100644
--- a/gtk/main.c
+++ b/gtk/main.c
@@ -1,6 +1,6 @@
/* main.c
*
- * $Id: main.c,v 1.100 2000/01/25 17:57:31 gram Exp $
+ * $Id: main.c,v 1.101 2000/01/29 13:30:08 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -465,6 +465,7 @@ follow_read_stream(char *filename, guint8 show_type,
"Error reading temporary file %s: %s", filename, strerror(errno));
}
fclose( data_out_file );
+ data_out_file = NULL;
} else {
simple_dialog(ESD_TYPE_WARN, NULL,
"Could not open temporary file %s: %s", filename, strerror(errno));