diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-06-12 01:28:27 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-06-12 01:28:27 +0000 |
commit | 4cb166570a8e2e97216bf6c7aeb99b971ff58ad7 (patch) | |
tree | b8d22af96957666ac761b6ca1b57da1eee2e56a5 /src/file.cpp | |
parent | b6f50f249ba3b18c597531a2d5dbc45f7bfa3eaa (diff) | |
download | libbu++-4cb166570a8e2e97216bf6c7aeb99b971ff58ad7.tar.gz libbu++-4cb166570a8e2e97216bf6c7aeb99b971ff58ad7.tar.bz2 libbu++-4cb166570a8e2e97216bf6c7aeb99b971ff58ad7.tar.xz libbu++-4cb166570a8e2e97216bf6c7aeb99b971ff58ad7.zip |
Moved out the xml system again. I think that if I am going to do it again,
I'm going to do it over from scratch, that was just painful. Also, started in
again on the server system, it's looking pretty good, already got connections
working, next up is managing data flow through clients and protocols!
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 | } |