Check for errors from all calls to "file_getc()".
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 30 Oct 2004 09:14:36 +0000 (09:14 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 30 Oct 2004 09:14:36 +0000 (09:14 +0000)
commita31638b0b4689e49ce2298fe62ca9c199722758f
tree1655e2a311285aec5a44706a065a0a6799b519b7
parentdf503cc727973cdce565f4deab438b99828a3a6d
Check for errors from all calls to "file_getc()".

If we get such an error, always call "file_error()" to get an indication
of what the error was and, if it returns 0, set the error to
WTAP_ERR_SHORT_READ.

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