projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a bug that caused blocks not to be properly re-used on checksum match.
[cumulus.git]
/
scandir.cc
diff --git
a/scandir.cc
b/scandir.cc
index
9727133
..
3a56d9c
100644
(file)
--- a/
scandir.cc
+++ b/
scandir.cc
@@
-189,7
+189,7
@@
int64_t dumpfile(int fd, dictionary &file_info, const string &path,
ref = ObjectReference(ObjectReference::REF_ZERO);
ref.set_range(0, bytes);
} else {
-
ObjectReference
ref = db->FindObject(block_csum, bytes);
+ ref = db->FindObject(block_csum, bytes);
}
// Store a copy of the object if one does not yet exist