file_read() can return -1; don't just blindly add it to a previous
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 10 May 2011 21:53:10 +0000 (21:53 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 10 May 2011 21:53:10 +0000 (21:53 +0000)
commit878a42c939277648355af6dadd3ee312b1c173fe
treed858074648d9472200d9f326518bf3d69225b213
parent6c7975100a697d9008d6d9422e1063411f5e527f
file_read() can return -1; don't just blindly add it to a previous
file_read() return value.  Use wtap_file_read_expected_bytes() in a
number of places.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37054 f5534014-38df-0310-8fa8-9805f1628bb7
wiretap/nettl.c