Use readString rather than >> temporary

Fixed the rest of these before, but this one slipped through.
This commit is contained in:
John Ericson 2020-06-04 20:54:55 +00:00
parent 744ce9ce16
commit 94ddea9e2f

View file

@ -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;