aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-03-22 15:18:48 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2021-03-22 15:18:48 +0000
commitf44206e71953501af502354ab1c747aa2412d676 (patch)
tree432baf64693eba6b2e739968e3b87666c1f47381
parent9d309de0de9a09d36717abd02a66b51815397d66 (diff)
Fix typos in the last PR #4656
-rw-r--r--src/libstore/daemon.cc2
-rw-r--r--src/libstore/remote-store.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/daemon.cc b/src/libstore/daemon.cc
index dc9cd2cbd..f28ab6438 100644
--- a/src/libstore/daemon.cc
+++ b/src/libstore/daemon.cc
@@ -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);
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index b01cb5a62..ccf095dc2 100644
--- a/src/libstore/remote-store.cc
+++ b/src/libstore/remote-store.cc
@@ -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> {});