X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=scandir.cc;h=9727133235a7054dc05cdfe5023376d4f5f98c61;hb=722040937d7709a7b976bf57b045dac6d703c893;hp=f653f4335d9ab69e7fff9c66a49669844fd39670;hpb=ab51d5778a1f19c204c935de231737df2e62c20c;p=cumulus.git diff --git a/scandir.cc b/scandir.cc index f653f43..9727133 100644 --- a/scandir.cc +++ b/scandir.cc @@ -228,6 +228,7 @@ int64_t dumpfile(int fd, dictionary &file_info, const string &path, o->write(tss); ref = o->get_ref(); db->StoreObject(ref, block_csum, bytes, block_age); + ref.set_range(0, bytes); delete o; }