Check for errors from all calls to "file_getc()".
authorGuy Harris <guy@alum.mit.edu>
Sat, 30 Oct 2004 09:14:36 +0000 (09:14 -0000)
committerGuy Harris <guy@alum.mit.edu>
Sat, 30 Oct 2004 09:14:36 +0000 (09:14 -0000)
commita3439d24fbc671276d8998b84726df928db6a1fb
tree1655e2a311285aec5a44706a065a0a6799b519b7
parent212015b7ff7f4bf2e68fc98bb8ef073996ebc989
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.

svn path=/trunk/; revision=12442
wiretap/pppdump.c