summaryrefslogtreecommitdiff
path: root/plugins/asn1/packet-asn1.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/asn1/packet-asn1.c')
-rw-r--r--plugins/asn1/packet-asn1.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/asn1/packet-asn1.c b/plugins/asn1/packet-asn1.c
index 7d8ad9524e..98789ff5da 100644
--- a/plugins/asn1/packet-asn1.c
+++ b/plugins/asn1/packet-asn1.c
@@ -85,7 +85,7 @@
#include <epan/dissectors/packet-tcp.h>
#include <epan/oids.h>
#include <plugins/asn1/asn1.h>
-#include <wiretap/file_util.h>
+#include <wsutil/file_util.h>
#ifdef DISSECTOR_WITH_GUI
#include <gtk/gtk.h>
@@ -2797,7 +2797,7 @@ static char eol[] = "\r\n";
(void) log_domain; (void) log_level; (void) user_data; /* make references */
if (logf == NULL && asn1_logfile) {
- logf = eth_fopen(asn1_logfile, "w");
+ logf = ws_fopen(asn1_logfile, "w");
}
if (logf) {
fputs(message, logf);
@@ -2818,7 +2818,7 @@ read_asn1_type_table(const char *filename)
if ((filename == 0) || (strlen(filename) == 0))
return; /* no filename provided */
- f = eth_fopen(filename, "rb");
+ f = ws_fopen(filename, "rb");
if (f == 0) {
/*
* Ignore "file not found" errors if it's the old default
@@ -3929,7 +3929,7 @@ create_message_window(void)
model = gtk_tree_store_new(N_COLUMNS, G_TYPE_STRING, G_TYPE_INT, G_TYPE_INT,
G_TYPE_STRING, G_TYPE_STRING);
- namelist = eth_fopen("namelist.txt", "w");
+ namelist = ws_fopen("namelist.txt", "w");
build_tree_view(model, PDUtree, NULL);
fclose(namelist);
namelist = 0;