summaryrefslogtreecommitdiff
path: root/wiretap/file_wrappers.h
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2008-09-15 21:50:50 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2008-09-15 21:50:50 +0000
commitb95f7e92ae937ae48051083198da85a4338b7b34 (patch)
tree324358a79442133a85a33f176057aa7249352d6a /wiretap/file_wrappers.h
parent740a53095ca0d6aa0664d85cd5f4119b0ca58beb (diff)
downloadwireshark-b95f7e92ae937ae48051083198da85a4338b7b34.tar.gz
Fix for bug 2875:
Fix a final eth_fopen -> ws_fopen When configuring with --without-zlib these functions need to have some parameters tagged _U_ svn path=/trunk/; revision=26212
Diffstat (limited to 'wiretap/file_wrappers.h')
-rw-r--r--wiretap/file_wrappers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/file_wrappers.h b/wiretap/file_wrappers.h
index b990a0014a..9e24b0be6d 100644
--- a/wiretap/file_wrappers.h
+++ b/wiretap/file_wrappers.h
@@ -42,7 +42,7 @@ extern FILE_T file_open(const char *path, const char *mode);
#else /* No zLib */
-#define file_open(path, mode) eth_fopen(path, mode)
+#define file_open(path, mode) ws_fopen(path, mode)
#define filed_open fdopen
/* XX: file_read and file_write defined to return number of *bytes* to be consistent with gzread & gzwrite */
#define file_read(buf, bsize, count, file) ((bsize) * fread((buf), (bsize), (count), (file)))