aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/daemon.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/daemon.cc')
-rw-r--r--src/libstore/daemon.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstore/daemon.cc b/src/libstore/daemon.cc
index 6d64644d1..cdc9c09c7 100644
--- a/src/libstore/daemon.cc
+++ b/src/libstore/daemon.cc
@@ -160,8 +160,7 @@ struct TunnelSink : Sink
TunnelSink(Sink & to) : to(to) { }
void operator () (std::string_view data)
{
- to << STDERR_WRITE;
- writeString(data, to);
+ to << STDERR_WRITE << data;
}
};