projects
/
ecparse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
470eace
)
return the number of read bytes
author
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Sat, 5 Jul 2008 14:19:58 +0000
(16:19 +0200)
committer
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Sat, 5 Jul 2008 14:19:58 +0000
(16:19 +0200)
FileReaderInput.cpp
patch
|
blob
|
history
diff --git
a/FileReaderInput.cpp
b/FileReaderInput.cpp
index
bd08f13
..
86d5b0f
100644
(file)
--- a/
FileReaderInput.cpp
+++ b/
FileReaderInput.cpp
@@
-16,7
+16,7
@@
int FileReaderInput::read(void* buffer, size_t length) {
size_t readBytes;
readBytes = fread(buffer, 1, length, file);
- return
0
;
+ return
readBytes
;
}
bool FileReaderInput::isEOF() {