* Pass HashType values instead of strings.

This commit is contained in:
Eelco Dolstra 2008-12-03 16:10:17 +00:00
parent 1307b22223
commit ff762fb499
11 changed files with 36 additions and 23 deletions

View file

@ -292,7 +292,7 @@ static void performOp(unsigned int clientVersion,
string baseName = readString(from);
readInt(from); /* obsolete; was `fixed' flag */
bool recursive = readInt(from) == 1;
string hashAlgo = readString(from);
HashType hashAlgo = parseHashType(readString(from));
Path tmp = createTempDir();
AutoDelete delTmp(tmp);