file_read vs fread?

"Ravi Kondamuru" <[email protected]> Tue, 20 Jun 2006 00:38:13 -0700
Newsgroups gmane.network.ethereal.devel
Message-ID <[email protected]>
Hi,

What is the difference in reading a file via file_read vs fread? I have
written a dump routine to save trace data into a file. The hex dump of
the file looks like I expect it to be. The fread of the file with a stub
program shows the same data. However, when same file is read by wireshark
(using file_read), the buffer into which I read, shows different data.

Just wondering how I should debug this issue?

thanks,
Ravi.

_______________________________________________
Ethereal-dev mailing list
[email protected]
http://www.ethereal.com/mailman/listinfo/ethereal-dev