* Pass HashType values instead of strings.
This commit is contained in:
parent
1307b22223
commit
ff762fb499
11 changed files with 36 additions and 23 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue