forked from lix-project/lix
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
|
@ -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