projects
/
backups
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c1a574
)
Removed (0 != space) check from while loop in copy_until_full() method.
author
Alan Jack Pippin
<ajp@pippin.(none)>
Thu, 2 Mar 2006 03:35:35 +0000
(20:35 -0700)
committer
Alan J. Pippin
<ajp@pippins.net>
Thu, 2 Mar 2006 03:35:35 +0000
(20:35 -0700)
main.cpp
patch
|
blob
|
history
diff --git
a/main.cpp
b/main.cpp
index 00861068d1f4e260e7360d6e60905947013092a0..80385fe57651b2098dd9b8a70ba0117b6148b5d9 100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-31,7
+31,7
@@
template<class I, class O, class INT>
bool copy_until_full( I begin, I end, O out, INT &space ) {
bool complete = true;
- while(
0 != space &&
begin != end ) {
+ while( begin != end ) {
INT size = (*begin)->getFileSize();
INT blocksize = blocks( size ) * bytes_in_block;