From: Michael Vrable Date: Sat, 14 Jul 2007 22:45:46 +0000 (-0700) Subject: Fix a bug in statcache support for file sizes. X-Git-Url: http://git.vrable.net/?a=commitdiff_plain;h=edfee67fdfc443b10d92e6e85a93cda0dcc1e680;p=cumulus.git Fix a bug in statcache support for file sizes. This had the effect of renderig the statcache useless (all files would be entirely read), but apart from the performance issue should have caused any problems. --- diff --git a/statcache.cc b/statcache.cc index 8e48c79..cccbf5b 100644 --- a/statcache.cc +++ b/statcache.cc @@ -173,7 +173,7 @@ void StatCache::ReadNext() if (fields.count("inode")) old_inode = parse_int(fields["inode"]); if (fields.count("size")) - old_inode = parse_int(fields["size"]); + old_size = parse_int(fields["size"]); old_checksum = fields["checksum"];