diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-06-04 20:54:55 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-06-04 20:55:08 +0000 |
commit | 94ddea9e2fffe2c0818653c509f881ae00f14d93 (patch) | |
tree | eec95adbb11efde1fc9ab07b5bee0f058f6dda5d /src/libstore/daemon.cc | |
parent | 744ce9ce166fa4878d50cf2cf27ac5446281609d (diff) |
Use `readString` rather than `>> temporary`
Fixed the rest of these before, but this one slipped through.
Diffstat (limited to 'src/libstore/daemon.cc')
-rw-r--r-- | src/libstore/daemon.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libstore/daemon.cc b/src/libstore/daemon.cc index 0734f990a..63b8d4bfe 100644 --- a/src/libstore/daemon.cc +++ b/src/libstore/daemon.cc @@ -708,11 +708,7 @@ static void performOp(TunnelLogger * logger, ref<Store> store, info.references = readStorePaths<StorePathSet>(*store, from); from >> info.registrationTime >> info.narSize >> info.ultimate; info.sigs = readStrings<StringSet>(from); - { - string caOptRaw; - from >> caOptRaw; - info.ca = parseContentAddressOpt(caOptRaw); - } + info.ca = parseContentAddressOpt(readString(from)); from >> repair >> dontCheckSigs; if (!trusted && dontCheckSigs) dontCheckSigs = false; |