diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-01-13T15·44+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-01-13T15·44+0000 |
commit | 73992371a3bc16b27b22e53d5f7ae600dea9cf60 (patch) | |
tree | d1e5db8cea5caacff34ac4e9b61195b97dbd9ceb /src/libstore | |
parent | d46b4262dc84689c3916583b91ed9fc6dafefdd6 (diff) |
* Refactoring to support SHA-1.
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/store.cc b/src/libstore/store.cc index f545d52eecab..cb5967182aa8 100644 --- a/src/libstore/store.cc +++ b/src/libstore/store.cc @@ -416,7 +416,7 @@ Path addToStore(const Path & _srcPath) Path srcPath(absPath(_srcPath)); debug(format("adding `%1%' to the store") % srcPath); - Hash h; + Hash h(htMD5); { SwitchToOriginalUser sw; h = hashPath(srcPath); |