aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-giop.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2007-10-16 15:43:18 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2007-10-16 15:43:18 +0000
commit853e79144494125bdff6dc64db298483810e4045 (patch)
treee8d57bb5805a73a0c6e9d6a02b866053f510553c /epan/dissectors/packet-giop.c
parent0918c7159b9b8ded2f9f662d57d4bcf30f8b6517 (diff)
Change more fopen() to eth_fopen() to finish fixing bug 1827:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1827 Update README.developer to tell developers not to use fopen() and friends directly. svn path=/trunk/; revision=23206
Diffstat (limited to 'epan/dissectors/packet-giop.c')
-rw-r--r--epan/dissectors/packet-giop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-giop.c b/epan/dissectors/packet-giop.c
index 1a0275124b..c5d3fe28b2 100644
--- a/epan/dissectors/packet-giop.c
+++ b/epan/dissectors/packet-giop.c
@@ -301,6 +301,7 @@
#include "packet-giop.h"
#include "packet-tcp.h"
+#include <wiretap/file_util.h>
/*
* Set to 1 for DEBUG output - TODO make this a runtime option
@@ -1289,7 +1290,7 @@ static void read_IOR_strings_from_file(const gchar *name, int max_iorlen) {
gboolean stream_is_big_endian;
- fp = fopen(name,"r"); /* open read only */
+ fp = eth_fopen(name,"r"); /* open read only */
if (fp == NULL) {
if (errno == EACCES)