diff options
Diffstat (limited to '')
-rw-r--r-- | src/file.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file.cpp b/src/file.cpp index 14b6e54..2965afa 100644 --- a/src/file.cpp +++ b/src/file.cpp | |||
@@ -48,8 +48,8 @@ size_t Bu::File::read( void *pBuf, size_t nBytes ) | |||
48 | 48 | ||
49 | int nAmnt = fread( pBuf, 1, nBytes, fh ); | 49 | int nAmnt = fread( pBuf, 1, nBytes, fh ); |
50 | 50 | ||
51 | if( nAmnt == 0 ) | 51 | //if( nAmnt == 0 ) |
52 | throw FileException("End of file."); | 52 | // throw FileException("End of file."); |
53 | 53 | ||
54 | return nAmnt; | 54 | return nAmnt; |
55 | } | 55 | } |