Hi

I am trying to read 4 bytes from my capture file. The code looks like this

guint32 id;
bytes_read = file_read(&id, 1, 4, wth->fh)

And this dumps core. If i change 1 to 4, it works but then it will
read 16 bytes which i dont want.

Does anybody have any suggestions. Thank you for your help.

-- 
Thanks and Regards,
Neha Chahal
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to