From Jakub Zawadzki:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 6 Apr 2011 06:51:19 +0000 (06:51 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 6 Apr 2011 06:51:19 +0000 (06:51 +0000)
commit12d81f29ab60039523e22a89d466828ef3667f44
treefdb9ea83c685200de45a790065fcc6be6a26fc88
parentdc3009079956ca7abd0f84fd00e9dbcc6dd43000
From Jakub Zawadzki:

file_read(buf, bsize, count, file) macro is compilant with fread
function and takes elements count+ size of each element, however to make
it compilant with gzread() it always returns number of bytes.

In wiretap file_read() this is not really used, file_read is called
either with bsize set to 1 or count to 1.

Attached patch remove bsize argument from macro.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36491 f5534014-38df-0310-8fa8-9805f1628bb7
33 files changed:
AUTHORS
wiretap/5views.c
wiretap/airopeek9.c
wiretap/ber.c
wiretap/btsnoop.c
wiretap/commview.c
wiretap/csids.c
wiretap/erf.c
wiretap/eyesdn.c
wiretap/file_wrappers.h
wiretap/hcidump.c
wiretap/i4btrace.c
wiretap/iptrace.c
wiretap/iseries.c
wiretap/jpeg_jfif.c
wiretap/k12.c
wiretap/lanalyzer.c
wiretap/libpcap.c
wiretap/mpeg.c
wiretap/netmon.c
wiretap/netscaler.c
wiretap/nettl.c
wiretap/network_instruments.c
wiretap/netxray.c
wiretap/ngsniffer.c
wiretap/packetlogger.c
wiretap/pcap-common.c
wiretap/pcapng.c
wiretap/radcom.c
wiretap/snoop.c
wiretap/tnef.c
wiretap/visual.c
wiretap/wtap-int.h