mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
Use readString
rather than >> temporary
Fixed the rest of these before, but this one slipped through.
This commit is contained in:
parent
744ce9ce16
commit
94ddea9e2f
1 changed files with 1 additions and 5 deletions
|
@ -708,11 +708,7 @@ static void performOp(TunnelLogger * logger, ref<Store> store,
|
||||||
info.references = readStorePaths<StorePathSet>(*store, from);
|
info.references = readStorePaths<StorePathSet>(*store, from);
|
||||||
from >> info.registrationTime >> info.narSize >> info.ultimate;
|
from >> info.registrationTime >> info.narSize >> info.ultimate;
|
||||||
info.sigs = readStrings<StringSet>(from);
|
info.sigs = readStrings<StringSet>(from);
|
||||||
{
|
info.ca = parseContentAddressOpt(readString(from));
|
||||||
string caOptRaw;
|
|
||||||
from >> caOptRaw;
|
|
||||||
info.ca = parseContentAddressOpt(caOptRaw);
|
|
||||||
}
|
|
||||||
from >> repair >> dontCheckSigs;
|
from >> repair >> dontCheckSigs;
|
||||||
if (!trusted && dontCheckSigs)
|
if (!trusted && dontCheckSigs)
|
||||||
dontCheckSigs = false;
|
dontCheckSigs = false;
|
||||||
|
|
Loading…
Reference in a new issue