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 20:17:31 +0000 (20:17 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 10 May 2011 20:17:31 +0000 (20:17 +0000)
commit6c7975100a697d9008d6d9422e1063411f5e527f
treef878efe0f48993d0a8643d3630a02b631ac152ef
parentfc7b930a6972577f1c2ea06090402529d31feb85
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@37053 f5534014-38df-0310-8fa8-9805f1628bb7
wiretap/commview.c
wiretap/lanalyzer.c
wiretap/ngsniffer.c
wiretap/packetlogger.c