Fix typos in the last PR #4656

This commit is contained in:
John Ericson 2021-03-22 15:18:48 +00:00
parent 9d309de0de
commit f44206e719
2 changed files with 2 additions and 2 deletions

View file

@ -576,7 +576,7 @@ static void performOp(TunnelLogger * logger, ref<Store> store,
logger->stopWork();
to << res.status << res.errorMsg;
if (GET_PROTOCOL_MINOR(clientVersion) >= 29) {
out << res.timesBuilt << res.isNonDeterministic << res.startTime << res.stopTime;
to << res.timesBuilt << res.isNonDeterministic << res.startTime << res.stopTime;
}
if (GET_PROTOCOL_MINOR(clientVersion) >= 28) {
worker_proto::write(*store, to, res.builtOutputs);

View file

@ -686,7 +686,7 @@ BuildResult RemoteStore::buildDerivation(const StorePath & drvPath, const BasicD
res.status = (BuildResult::Status) readInt(conn->from);
conn->from >> res.errorMsg;
if (GET_PROTOCOL_MINOR(conn->daemonVersion) >= 29) {
from >> res.timesBuilt >> res.isNonDeterministic >> res.startTime >> res.stopTime;
conn->from >> res.timesBuilt >> res.isNonDeterministic >> res.startTime >> res.stopTime;
}
if (GET_PROTOCOL_MINOR(conn->daemonVersion) >= 28) {
auto builtOutputs = worker_proto::read(*this, conn->from, Phantom<DrvOutputs> {});