digest: Fix incorrect statistics when hashes fail
authorcvs <cvs@a5e33b96-951a-0410-ae88-c0fe16d076bb>
Mon, 5 May 2003 04:20:14 +0000 (04:20 +0000)
committerZygo Blaxell <zblaxell@waya.furryterror.org>
Sat, 9 Jan 2010 02:17:28 +0000 (21:17 -0500)
commit77a91221531d6e674b0c6e3c53ca742b51dafc1d
tree56c08373b36f2f44666cf5ebd70cb3222ec50362
parentaa42755213d1f38be21a9446de9cfe1b4c011410
digest: Fix incorrect statistics when hashes fail

An order-of-operations bug can lead to files being counted as hashed
when they are not (e.g. due to I/O error or the file disappearing).
Calculate the digest, then increment the statistics.

git-svn-id: svn+ssh://svn.furryterror.org/r/trunk/mokona/zblaxell@3332 a5e33b96-951a-0410-ae88-c0fe16d076bb
faster-dupemerge