Update file_server_backend.hpp

This commit is contained in:
David Sidrane 2015-05-19 18:28:19 -10:00
parent 2443f29595
commit 5a0bccf787

View File

@ -87,7 +87,7 @@ public:
}
} while(len);
close(fd);
out_crc64 = crc.get();
out_size = size;
EntryType t;
@ -125,6 +125,7 @@ public:
if (::lseek(fd, offset, SEEK_SET) >= 0) {
ssize_t len = ::read(fd, out_buffer, inout_size);
close(fd);
if (len < 0) {
return rv;