diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-12-03T16·10+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-12-03T16·10+0000 |
commit | ff762fb499be220ccd680f3bf68dca44a902a5ff (patch) | |
tree | 02f738ec60517e3eadd5b0a2bc2fe5c19c3d954c /src/nix-worker/nix-worker.cc | |
parent | 1307b222239da8e503d22ad9316789e30b4e2431 (diff) |
* Pass HashType values instead of strings.
Diffstat (limited to 'src/nix-worker/nix-worker.cc')
-rw-r--r-- | src/nix-worker/nix-worker.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-worker/nix-worker.cc b/src/nix-worker/nix-worker.cc index e4fe94926b63..c956f839ec39 100644 --- a/src/nix-worker/nix-worker.cc +++ b/src/nix-worker/nix-worker.cc @@ -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); |